Sets the dialog as the main panel.

If several modeless dialogs are created during the execution of the program, then all of them remain on the screen until they are closed by the user.

And if the user closes the dialog marked as the main panel, then all other windows will close with him.

Call:

ts_dialog(int iDialogDescr, "set_as_main_panel");