CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2008
    Posts
    1

    Question ReDrawWindow Problem

    Hi, I am using RedrawWindow to repaint the Mainform of my Application. When this is done for a brief moment of time the main form loses focus. I could see some parts of Applications behind my Main form. Can anyone help please. thanks in advance.

  2. #2
    Join Date
    Nov 2007
    Posts
    613

    Re: ReDrawWindow Problem

    Try to use InvalidateRect instead of RedrawWindow.

    Try to return zero from WM_ERASEBKGND.

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