Add support for CS_NOCLOSE

Dmitry Timoshkov dmitry at baikal.ru
Thu Aug 7 23:04:00 CDT 2003


"Alexandre Julliard" <julliard at winehq.org> wrote:

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

Probably RedrawWindow(RDW_FRAME) would be better, but under Windows
a window doesn't receive WM_NCPAINT in that case either.

-- 
Dmitry.





More information about the wine-devel mailing list