dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: VladimirF

Search: Search took 0.02 seconds.

  1. Re: Calling default in OnNcPaint defore my painting paints over mine?

    My point is - you shouldn't paint client area in WM_NCPAINT, as it will be clipped out.
  2. Re: Calling default in OnNcPaint defore my painting paints over mine?

    I might be wrong, but I don't see where you handle WM_NCCALCSIZE message.
    How does the window know that a part of its client area is painted as a non-client?
  3. Re: Calling default in OnNcPaint defore my painting paints over mine?

    I always used CWnd::GetCurrentMessage()
    Will play with your test case.
  4. Re: Calling default in OnNcPaint defore my painting paints over mine?

    I would try to paint your stuff first and remove the painted area from the update region, then call default.
Results 1 to 4 of 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)