I'm facing a problem on the Win32 API. I have a program that, when it handles
WM_PAINT messages, it calls
BeginPaint to clip the region and validate the update region, but the
BeginPaint function is always generating a
WM_NCPAINT message with the same update region, even if the touched part that needs repainting is only inside the client region.
Do anyone has any clue why this is happening? It's on child windows with the