Prepare the dialog object for work.

Call:

int ts_dialog(int iDialogDescr,"init_dialog", string modaltype, int x, int y, int width, int height);


Here:

smodaltype - modal or modeless dialog. Possible values ​​are "modaldialog" - modal, "palette" - non-modal;

x, y, width, height - coordinates of the upper left corner, width and height of the dialog box.