Available for Window, MDIWindow and DialogBox objects.
Read/Write only at design time
Specifies whether the close button in the caption (title bar) of a window object is enabled or disabled. It can be one of the following values:
TRUE Close button is enabled (default).
FALSE Close button is
disabled.
REMARKS: When the close button is disabled, the window never receives
the WM_CLOSE message.