CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    Force Desktop Window To Refresh

    Well, during my program running, i paint something on the desktop window,
    after that, i want the desktop window to "refresh" to clear all what i paint.
    I try WM_PAINT but it didn't work, any suggestion?
    Thanks

    Hello World!!!

  2. #2
    Join Date
    May 1999
    Posts
    82

    Re: Force Desktop Window To Refresh

    Try WM_ERASEBKGND


  3. #3
    Join Date
    May 1999
    Location
    Sydney, Australia
    Posts
    420

    Re: Force Desktop Window To Refresh

    Try calling Invalidate() for the Desktop Window

    Sally


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

Featured