CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Location
    Israel
    Posts
    1,793

    Simple question...

    hi.
    When i use InvalidateRect() func it causes WM_PAINT.

    what similar func will cause WM_NCPAINT?????
    thanks
    kishk91


    [email protected]
    http://www.path.co.il

  2. #2
    Join Date
    Aug 1999
    Location
    England
    Posts
    67

    Re: Simple question...

    I'm guessing that as the WM_NCPAINT messages is used to paint the frame of the window, if you use InvalidateRect() on (part of) the frame the WM_NCPAINT message will be generated.




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