Add support for CS_NOCLOSE

Alexandre Julliard julliard at
Fri Aug 8 13:11:44 CDT 2003

"Dmitry Timoshkov" <dmitry at> writes:

> Alexandre, I understand that you want to separate the drawing code from
> such cases and prevent a possible breakage of win31/etc. drawing code.
> But that's how it's done in Windows. It's up to you, if you wish, to
> replace the NC_DrawCloseButton95 call by RedrawWindow(RDW_FRAME) if you
> still think that it's cleaner to do.

I think it's much better, drawing directly will cause a lot of
problems, especially when called from another thread context. Unless
you really have an app that depends on not getting a WM_NCPAINT here I
see no reason not to use the normal mechanisms.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list