The MapBasic Guide states that "The application window title (the main "MapInfo" title bar) cannot be changed unless the user is running a run-time version of MapInfo". It is however possible to do it with some API calls like in the following example:
Declare Function GetActiveWindow Lib "user32.dll" () As Integer Declare Function SetWindowText Lib "user32.dll" Alias "SetWindowTextA" (ByVal hWnd As Integer, ByVal lpString As String) As Integer Dim miwind,retval As Integer miwind=GetActiveWindow() retval = SetWindowText(miwind, "New title for MI Main window") If you do not have mapbasic, I could compile a short program to do it. Jacques Paris -----Original Message----- From: Lyle A Burgess [mailto:[EMAIL PROTECTED]] Sent: December 10, 2002 04:51 To: [EMAIL PROTECTED] Subject: MI-L MI Window Sizing on Opening Does anyone know how to force MapInfo (6.0) to open the window to a specific size or make it remember the last size it was closed at? My MapInfo Icon is set to run as a normal window but it expands to fill both screens which is really annoying. One has to always resize it. Thanks, Lyle A Burgess mailto:[EMAIL PROTECTED] Prospectivity Mapping Services Specialists in GIS targeting with GIS mailto: [EMAIL PROTECTED] --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 4473
