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