Anatoly, thanks.
User is still able to close the window with the Windows hot keys like Alt-f4 or alt-shift-f4. Do you know how to disable the particular hot key combination and for particular window only?
>Using
SetWindowRgn API function it is even possible to cut the form's corner with the Close button.
>
>There is a code sample with a screen shot:
>
http://www.news2news.com/vfp/?example=127>
>Of course it is too exotic, just an alternative way :)