Results 1 to 3 of 3

Thread: Drawing to screen dc

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Aug 2000
    Posts
    1,091

    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

    Visual Studio 2010

  2. #2
    New Member
    Join Date
    Feb 2002
    Posts
    9
    Form refresh in the right hand. Turn it to true?
    That might work?
    It is a shot in the dark

  3. #3
    New Member
    Join Date
    Feb 2002
    Posts
    9
    nm, i just read the rest of your msg

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width