# Dialog No Creep
> [HTML Version](dialognocreep.htm)
This option (_ctype_ MBF\_DLGNOCREEP) applies only to dialogs, causing them to be positioned relative to the main window rather than relative to the parent dialog. Such nested dialogs with the same starting coordinates will have the same upper left corner position. Otherwise, dialogs are positioned relative to the parent, and are offset down and to the right by 2 times the thickness of the border, so that a series of nested dialogs will "creep" (or cascade) down to the right.
Note that MBF\_ALTPOS causes the same effect (among others), as does selecting the "Windows desktop font size" option in the Dialog Sizing dialog.
Dialogs with the MBF\_SYSMENU flag offer additional choices for how it responds to the user clicking on the "X" to close it. By default, that sends an Escape and leaves it to the application to close the dialog (using AUI\_CONTROL opcode 3). This requires setting the MBF\_KBD flag. If you set that flag and put something in the _command_ parameter, then that string will be sent instead of the standard Escape. If you set the MBF\_KBD flag but leave the _command_ parameter empty, then dialog will close itself without sending anything to the application. This might actually be very convenient for status/info/debug dialogs that are just outputting auxiliary messages, perhaps via SCRSTS.SBX; in which case further output would just be thrown away.
SCRSTS.SBX 1.0(105) supports this capability; see the updated TSTSCR sample program (edit 104+) in \[907,20\] to experiment with it.)