#Locating Dialogs
05-Jan-95 11:29:34
Sb: #145075-#Locating Dialogs
Fm: Alfonso Hermida 72114,2060
To: Jonas Ruikis [ADESK] 73172,1351
I forgot to explain what I use it for, so it will be easier
to understand the code. If you have 4 viewports on the screen
(screen dimensions are MAXX and MAXY) the area to your right which
is empty has the dimensions (assume the viewports are square and of
size MAXY/2,MAXY/2) horiz = MAXX-MAXY vert = MAXY
The code that I sent you locates a dialog that is already centered so
that the center of the dialog is on the center of the empty area
(that which is not covered by the viewports).
Does it make any sense????