"Uwe Bonnes" <bon at elektron.ikp.physik.tu-darmstadt.de> wrote: > Is lps==NULL an argument that BeginPaint() and EndPaint() should cope with or > is it a result for errors hidden deeper? I've tested it before I sent the patch. Win2k just returns 0 for both APIs without a crash. -- Dmitry.