Disable close window "X" button

Hi

I was wondering if there is a command to disable the “X” button at the top right of a window so it does not close.

I am aware that there is a disable button function but i am not sure what the button id is.

Regards
Scott
Wimac

Look up Window Accessing on the following site:

docs.dhtmlx.com/doku.php?id=dhtm … ulations&s[]=window&s[]=getDimension

and Button Accessing and Button Enabling/Disabling on the following site:

docs.dhtmlx.com/doku.php?id=dhtm … ulations&s[]=%27minmax1%27

Default button IDs are described under Button Accessing. For “X” the ID is “close”.