"Alexandre Julliard" <[EMAIL PROTECTED]> 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.