Thread: Drawing on the Windows Desktop

  1. #1
    Registered User
    Join Date
    Jul 2007
    Posts
    36

    Drawing on the Windows Desktop

    How do you draw on the desktop of windows? I have been able to draw stuff on the desktop but I can never get the desktop to refresh (erase the display) so that I can draw the next frame and not leave a trail of pictures. How do I do this?

    Hmm... no one seems to know how to do this... anyone?
    Last edited by francoissoft; 07-21-2007 at 03:01 PM.

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    InvalidateRect(0,0,1);
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Registered User
    Join Date
    Jul 2007
    Posts
    36
    I'll try it.
    FrancoisSoft
    FrancoisSoft on the Web
    If you stare at a computer for 5 minutes you might be a nerdneck.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Network Programming in C for Windows
    By m.mixon in forum C Programming
    Replies: 7
    Last Post: 06-19-2006, 08:27 PM
  2. Question..
    By pode in forum Windows Programming
    Replies: 12
    Last Post: 12-19-2004, 07:05 PM
  3. drawing sprites with the windows gdi
    By lambs4 in forum Game Programming
    Replies: 10
    Last Post: 08-14-2003, 09:06 AM
  4. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM