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

Rein Klazes rklazes at xs4all.nl
Thu Sep 2 06:10:17 CDT 2004


On Wed, 01 Sep 2004 19:39:25 -0700, you wrote:

> 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? 


0009:Call user32.GetUpdateRect(0001002c,4070fb08,00000000) ret=00618a0e


> And does
> that call generate a WM_NCPAINT message?

No. 

I have uploaded a  +relay,+message,+win snip (300 KB) of the log at
http://home.wanadoo.nl/wijn/tmp/wine2.log.bz2

Rein.
-- 
Rein Klazes
rklazes at xs4all.nl



More information about the wine-devel mailing list