Window painting problem

Malte Starostik malte at
Tue Jul 3 09:45:23 CDT 2001

On Dienstag, 3. Juli 2001 14:35, Glenn Schrader wrote:
> The problem appears to be in BeginPaint. There is a
> test which checks to see if the window has the
> CS_PARENTDC flag set. If so then then the update
> region is discarded and the window is painted.
> This has the side effect of making the whole
> window repaint every time anything in the window
> changes.
> According to the windows docs that i've looked at,
> the CS_PARENTDC should just make the window paint
> using its parent's device context. There isn't any
> mention of also removing the invalid region clipping
> so i'm pretty sure that what BeginPaint is doing
> isn't right.
As I posted a while back 
there are other problems with it and there are contradicting pieces of 
documentation :(

More information about the wine-devel mailing list