CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Threaded View

  1. #1
    Join Date
    Feb 2010
    Posts
    6

    Forcing windows to repaint.

    Hey,

    I have a few questions about repainting windows (in windows xp/+).
    I would like to FULLY repaint a hidden window / (maybe even partially hidden windows) on command. Does a command exist for this? Windows you minimize for example don't get repainted. And making WM_PAINT trigger will only result in errors. Moving it offscreen will also not make it repaint.

    Does anyone know a workaround this? If its even possible.
    I know it sounds weird but I'm sure its the only way to make it work.


    Thanks already.

    e: Tricking Windows(OS) into thinking the window should be repainted should work too. (This should cause some weird behavior but that doesn't matter to me )
    Last edited by edgebird; February 25th, 2010 at 10:05 AM.

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