I have a dialog in the
centre of the screen. Some user action causes a second dialog to open. It opens
over the first dialog.
The user has to move the
second dialog in order to see the first.
I'd like to be able to
have the second dialog surface offset by some stated amount from the
I could do this with
~moveTo() or maybe ~moveWindow(). But in both cases I'd need to check where on
the screen the first dialog is so that the second is not half-off or wholly off
the screen. To do this would take a bit of work: check screen size, check
dialog1 position, then work out where to bring up the second window - above,
below, left, right, or some combination such as "to the upper
Is there a simple way to
surface a dialog so that it's offset by some defined amount, but where ooDialog
or Windows provides a default new position - i.e. to the right, left, top, or
bottom of the first dialog?