[Geosoft Oasis Montaj Crack Download

0 views
Skip to first unread message

Saija Grzegorek

unread,
Jun 13, 2024, 3:17:57 AM6/13/24
to batfinktesa

An Oasis montaj menu file (.omn) and sub-menu file (.smn) define menus that can be added the Oasis montaj menu bar. Menus organise suites of GXs and internal commands into logical processing groups and workflows to be presented to your user. You will normally create a menu specifically for your own application suite, and your user will load your menu by clicking the Load menu option on the GX menu. The contents of your menu will be inserted into the displayed Oasis montaj menus.

Note that only menus with extension .omn will be displayed in the menu browse tool. Menu files with extension .smn are for menus that will only be included in other menus. A menu may load submenus using the LOADMENU directive followed by the sub-menu name.

Geosoft Oasis Montaj Crack Download


DOWNLOADhttps://t.co/zhblPKzoKM



The CLEARALL keyword will clear all menus; excluding the coremenus.omn This enables your menu to completely control the Oasis montaj environment for your specific application. The CLEARALL keyword, if used, should be the first keyword in your menu file.

If you use this keyword, you should provide your user with access the *ID_CLEARMENU internal command somewhere in your menu system. This command will allow your user to reset the menus to the Geosoft coremenus.omn.

This identifies a new menu, which can appear on the Oasis montaj menu bar, or may be a submenu that will become part of a previously defined menu. Each MENU line is followed by one or more ITEM lines, SUBMENU lines or SEPARATOR lines.

You can also specify the name of a pop-up menu that is activated when the right-mouse button is pressed. Pop-up menus are context sensitive, which means that the menu that appears depends on the current mode and the object that is under the mouse cursor at the time the right-mouse button is pressed.

Action can be the name of a GX, a GS script, a Sushi PDF file, a Win-32 help file, or the name of an internal command. GX, GS, PDF and help files must be in the project directory or in the Geosoft directory, or the locations must be specified explicitly (see File Names below).

A pop-up menu is a context sensitive menu that appears when the right mouse button is pressed. The menu that is displayed (popped-up) depends on what has been selected, where the mouse is located and/or the current mode of Oasis montaj. The default oasis pop-up menus are defined in the file montaj_popups.smn in the Geosoft directory. The following table lists some of the available pop-up menus:

Files to be located by name, either in OMN files, GEOBAR files, or in scripts, will be located either in their default location (\omn for menu files, \gx for GX files), or in the location explicitly identified by a full path name. For explicitly located files, you may use a prefix to identify a directory in which to locate a file. Allowable values are:

The Windows "ShellExecute" command is called with the specified parameters. For the WinHelp verb, the Windows WinHelp command is used. Please refer to your Windows API documentation for the use of these parameters. Note that the items in square brackets are optional and are for special use when full control of the Windows functions are required.. ShowCmd and nCmd are both integer values that can be set to the Windows manifest constant values as required. By default, ShowCmd will be 1 (SW_SHOWNORMAL), and nCmd will be 258 (HELP_COMMAND).

Menu and toolbar items can also activate an internal command, which can be named in an ITEM. Note that internal commands are not stored in a script or in the processing log file. Only GX commands and GX parameters appear in a script of a log file. If scripting is required, most commands can be emulated by writing a GX that performs the required action.

Menu items can display images (icons really) to stress what an item does or represents. Icons must be 18 x 18 in size (pixels) and can be stored individually or contained in a larger bitmap file and indexed by the image number in square brackets []. For example, if my bitmap file contains six 18 x 18 images and the item requires the 4th image in the file you would use to reference that position (index count begins at 0). Image files are .bmp files and are usually stored in the img subdirectory of Oasis montaj.

Some items should only be active if the project has a database or a map open. You can specify the item dependency by placing one of the following qualifiers at the end of an ITEM line. The menu item will be greyed out if the dependancy is not true:

The default Oasis montaj menu will contain the minimum menu you see when you do not have a project open. This includes a File menu, a Window menu and a Help menu. When you create a new project, Oasis montaj first loads the coremenus.omn file, then loads the menu(s) specified by the Default Menu entry in the settings.gx. When an existing project is opened, the same actions are executed and then any menus that were open when the project was last closed are also displayed.

If you want your application to completely control your users menu, you can change the Default Menus entry. You should look at the contents of montaj.smn and montaj_popups to see if there are any components of these menus that you want to include in your application.

795a8134c1
Reply all
Reply to author
Forward
0 new messages