[ros-dev] [gvg] 19895: Make sure that WM_NCPAINTmessages aregenerated by calling BeginPaint

Ge van Geldorp gvg at reactos.org
Mon Dec 5 13:00:22 CET 2005


> From: Thomas Weidenmueller
> 
> I get the messages in the following order:
> 
> received WM_NCPAINT
> Before GetUpdateRect
> After GetUpdateRect

That's during the initial paint, the WM_NCPAINT is sent during window
creation then so there's no need for GetUpdateRect to send it again. Try
clicking in the window, this will invalidate the window and then you'll see
"before, WM_NCPAINT, after".

GvG



More information about the Ros-dev mailing list