Hello David,
> I believe that if I use the following command:
> Print WindowInfo(FrontWindow(), WIN_INFO_HEIGHT)
> it gives me the height of the map window if it is in it's
> NORMAL state. Would anyone know how I can get the height of
> the map window when it is in it's MAXIMIZED state?
>
> I'm trying to save the position of the message window, so I
> can put it back in the same place when the program is
> restarted.
You can indeed query the WIN_INFO_HEIGHT and WIN_INFO_WIDTH of a window and save it
for restoration later. However, for handling the window maximised (or minimised)
state, you don't
have to remember the size - just the fact that it is maximised or minimised. Use the
WIN_INFO_STATE attribute to query the windows states and store that along with the
width and
height information. Use "set window ..." to restore the height, width and state.
Regards,
Warren Vick
Europa Technologies Ltd, U.K.
http://www.europa-tech.com
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]