http://www.vb-helper.com/HowTo/noclose.zip

	Purpose
Disable the close X in a form's upper right corner.

	Method
Remove the Close item from the system menu. Unfortunately this does not
prevent Alt-F4 from working. Use a Boolean variable to decide when it is
legal to unload and cancal all other unloads in the form's QueryUnload
event handler.

	Disclaimer
This example program is provided "as is" with no warranty of any kind. It is
intended for demonstration purposes only. In particular, it does no error
handling. You can use the example in any form, but please mention
www.vb-helper.com.
