I assume you want to do this in MapBasic?

Use the ShowWindow API function.

Declare Function ShowWindow& Lib "User32" (ByVal hwnd as Long, ByVal
nCmdShow as Long)

hwnd = window handle; use GetForegroundWindow or GetActiveWindow API
calls...
nCmdShow:

SW_HIDE = 0
SW_MAXIMIZE = 3
SW_MINIMIZE = 6
SW_RESTORE = 9
SW_SHOW = 5
SW_SHOWMAXIMIZED = 3
SW_SHOWMINIMIZED = 2
SW_SHOWMINNOACTIVE = 7
SW_SHOWNA = 8
SW_SHOWNOACTIVATE = 4
SW_SHOWNORMAL = 1

For API help try http://www.vbapi.com/

-----Original Message-----
From: tim chilton [mailto:[EMAIL PROTECTED]]
Sent: 23 August 2000 10:25
To: [EMAIL PROTECTED]
Subject: MI Help with MapInfo Application Window resizing


Hello,

Does anyone know how to resize the MapInfo application window? I've only

managed to find out how to resize map windows etc and it doesn't seem as
if 
you can apply the same commands to MapInfo itself.

Thanks for your help

Tim Chilton
[EMAIL PROTECTED]
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to