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

Thread: Forcing redraw

  1. #1
    Join Date
    May 1999
    Location
    Sweden
    Posts
    30

    Forcing redraw

    How do I force a redraw of my CMainFrame (via WM_PAINT) from my CSplitterWnd?

    -- Henrik


  2. #2
    Guest

    Re: Forcing redraw

    using a pointer to CMainFrame, call InvalidateRect() with a null Crect to invalidate the whole window
    if you want it to instantly redraw, call UpdateWindow() aft

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