I'm facing a problem on 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() is always generating a WM_NCPAINT message with the same updata region even if the touched part that need repaint it's only inside the client region.
Do anyone has any clue? It's on child windows with WS_CHILD.