2 Sep
2004
2 Sep
'04
2:39 a.m.
Rein Klazes <rklazes(a)xs4all.nl> writes:
This has the effect that a program that like agent does this:
case WM_PAINT: if( GetUpdateRect(hWnd, ...) { hdc = BeginPaint(hWnd,...);
}
causes a lot of:
err:msg:DispatchMessageA BeginPaint not called on WM_PAINT for hwnd 0x1002c!
Is it not possible to restrict the update region to the client area in the first place?
Not really, the non-client area needs to be painted too. What is the value of the 'erase' flag in the above GetUpdateRect call? And does that call generate a WM_NCPAINT message? -- Alexandre Julliard julliard(a)winehq.org