IDisplayFeedback Refresh

Discussion created by thib on May 6, 2011

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