Select to view content in your preferred language

IDisplayFeedback Refresh

563
0
05-06-2011 02:14 AM
ThibautDusanter
Emerging Contributor
Hi,

I am developing a custom display feedback. I have some problems with the drawing in the MoveTo function (and in the refresh). I manage to draw the new line when the mouse is moved but I don't know the proper way to remove the old line. Thus the screen is filled with all the old lines until I do a refresh.

I know that I can do this global refresh but I would like to do it the right way. In the IDisplayFeedback, I have access to the IScreenDisplay interface. Do I have to use the invalidate method? Does someone have an example of clean code for the MoveTo and Refresh functions?

I will greatly appreciate any help/comments
Thanks a lot
0 Kudos
0 Replies