wine/ windows/painting.c dlls/user/painting.c

Alexandre Julliard julliard at winehq.org
Wed Sep 1 21:39:25 CDT 2004


Rein Klazes <rklazes at 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 at winehq.org



More information about the wine-devel mailing list