Add support for CS_NOCLOSE

Alexandre Julliard julliard at
Thu Aug 7 12:05:03 CDT 2003

"Dmitry Timoshkov" <dmitry at> writes:

> Windows doesn't use SetWindowPos to update the disabled Close button,
> but draws the button directly.

Actually that doesn't look right either, we shouldn't bypass the
normal painting code IMO; but RedrawWindow(RDW_FRAME) would probably
work better than SetWindowPos.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list