"Dmitry Timoshkov" dmitry@baikal.ru 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.