Drawing on the Windows Desktop

This is a discussion on Drawing on the Windows Desktop within the Windows Programming forums, part of the Platform Specific Boards category; How do you draw on the desktop of windows? I have been able to draw stuff on the desktop but ...

  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 04: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, 09: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, 10:06 AM
  4. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 10:37 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21