Propietat DisableClose


Disponible per als objectes Window, MDIWindow i DialogBox.

Lectura/Escriptura només en temps de disseny

Indica si el botó de tancar de la barra de títol ("caption") d'un objecte finestra està habilitat o no. Pot ser un dels següents valors:

TRUE    El botó de tancar està habilitat (per defecte).
FALSE  El botó de tancar està deshabilitat.


OBSERVACIONS
: Quan el botó de tancar està deshabilitat, la finestra no rep mai el missatge WM_CLOSE.