|
-
Feb 28th, 2002, 11:27 AM
#1
Thread Starter
Frenzied Member
Drawing to screen dc
After drawing to the screen dc, with say a pen, how do you then refresh the screen to get rid of what you just drew?
The only thing I can do right now is to move a window around to wipe out the drawing. But there has got to be a way to refresh the screen.
Someone suggested the RedrawWindow API but unfortunately, this does not work because the screen is not a window and therefore does not have a handle. Although you can pass a Null handle in to RedraWindow, that repaints the desktop, which is not the screen.
So I guess the real question is, after drawing to a dc, how do you refresh it without resorting to repainting the window?
Any help would be appreciated..
Dan
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|