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

Thomas Weidenmueller w3seek at reactos.com
Mon Dec 5 12:49:14 CET 2005


Ge van Geldorp wrote:
> According to MSDN, you're right, it doesn't mention GetUpdateRect sending a
> WM_NCPAINT message. According to the attached test program (gcc -o
> gurtest.exe gurtest.c -lgdi32, click inside the window to invalidate the
> whole window), Filip is right and a WM_NCPAINT is actually sent from within
> GetUpdateRect.

I get the messages in the following order:

received WM_NCPAINT
Before GetUpdateRect
After GetUpdateRect

However, but the fact that WM_NCPAINT is sent shouldn't be influenced by
GetUpdateRect's last parameter IMO.

- Thomas


More information about the Ros-dev mailing list