IntControl(75, p1, 0, 0, 0)
Gets last dialog coordinates.
p1 Meaning
1 Returns last X coordinate
2 Returns last Y coordinate
This IntControl returns the X or Y coordinate of the most recently displayed dialog (created with the Dialog function), at the time the previous dialog was closed. Coordinates are in dialog units.
Returns -1 if there was no previous dialog.