"Dmitry Timoshkov" <dmitry at baikal.ru> wrote: > My test under win2k shows that Windows sends > WM_SYSCOMMAND/SC_CLOSE and then WM_CLOSE regardless whether CS_NOCLOSE > is set or not. Wrong. Please ignore that chunk of the patch. If other parts are OK I'll resend the whole thing. -- Dmitry.