Mapinfow.mnu contains commands to generate the menus and buttonpads that
appear when MapInfo starts up.  They have the exact same syntax as menu
creation in MapBasic.

MapInfo knows which command to execute from the number after "Calling"
(the numbers are hard-coded into MapInfo), and if you had MapBasic, 
you'd also have the file MapBasic.def which would give you a symbolic 
name for them.

However, Chris's menu, although composed of stock MapInfo commands,
has *different* stock MapInfo commands (e.g. Open Workspace) from the
ones described in the mapinfow.mnu he shows.  In fact, that looks like
the File menu from an older version of MapInfo (which had a separate 
Open Workspace command).

The most likely scenario I can think of is that he's got a MapBasic 
application loaded, which attempts to replicate the File menu (possibly
replacing one or more commands there with its own routines), but which 
was originally written for an older version of MapInfo.

This application may be one of the ones built into an international
version of MapInfo.

Another possibility is that there's another mapinfow.mnu somewhere 
(possibly in a folder under Documents and Settings) that
creates a different set of menus.

Hope this helps
Spencer



-----Original Message-----
From: Woody Woodruff [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 21, 2003 8:44 PM
To: Spencer Simpson; 'Brown, Christopher (HI)'; 'MapInfo-L'
Subject: RE: MI-L Mapinfow.mnu - question?


If you notice, all these menu items are stock, you are getting them cuz
that's the design, they call menu routines from Mapbasic.def, which is a
hidden file. I don't think its from any .MBX loaded.  You can customize the
menu through the mapinfo.mnu file, but its kinds like a watch, so make a
backup copy before you see what the different springs do.

William "Woody" Woodruff


-----Original Message-----
From: Spencer Simpson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 09:57
To: 'Brown, Christopher (HI)'; 'MapInfo-L'
Subject: RE: MI-L Mapinfow.mnu - question?


It's possible that you're loading a MapBasic application that creates its
own File menu when the application starts up.

Go to Tools -> Tool Manager... and make note of all of the
applications that are set to "autoload".   Uncheck one, exit MapInfo,
then start it up again. Repeat until all of the Autoloaded tools are off.

Hope this helps
Spencer

-----Original Message-----
From: Brown, Christopher (HI) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 22, 2003 2:32 AM
To: MapInfo-L
Subject: MI-L Mapinfow.mnu - question?



I have MapInfo v7.0 Release Build 26 installed on an XP Professional OS.
According to "Print LocateFile$(7)" my mapinfow.mnu file resides in
C:\Program Files\MapInfo\Professional. Opening it up in a text editor the
following first few lines indicate these commands for the File menu:
'** FILE menu **************************************************************
Create Menu "&File" ID 1 As
  "&New Table...\tCtrl+N/W^N/Mn/XCtrl+n"
    HelpMsg "Create a new table."
    calling 101,
  "&Open...\tCtrl+O/W^O/Mo/XCtrl+o"
    HelpMsg "Open tables or workspaces."
    calling 102,
  "Open DB&MS Connection..."
    HelpMsg "Connect to a DBMS server."
    calling 125,
  "(-",
  "(&Close Table..."
    HelpMsg "Close one or more tables."
    calling 103,
  "(Close A&ll"
    HelpMsg "Close all open tables."
    calling 104,
...and so on.

Could anyone please explain why and where I am getting this File menu? New
Table... CTRL+N Open Table... CTRL+O Open DBMS Table... Open Workspace...
CTRL+A

I cannot seem to find the answer or locate where MapInfo is finding the
different menu commands.

Thanks in advance for any answers.
Chris


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 7739

Reply via email to