setdlgpos

Sets the position of dialog box.

setdlgpos <x> <y>

Remarks

Changes the initial position for dialog boxes opened by the "inputbox", "messagebox", "passwordbox", "statusbox" and "listbox" commands. If the status dialog box is displayed, the "setdlgpos" command also moves the dialog box.
<x> and <y> specify the position (x,y) in the screen coordinate.
The origin (0,0) is upper left corner of the screen.

Example

; Message box at the upper left corner.
setdlgpos 0 0
messagebox 'Message' 'Title'

; Open the status box.
setdlgpos 0 200
statusbox 'Message' 'Title'

; Moves the status box.
for i 0 200
  setdlgpos i 200
next