Maptitude GISDK Help |
Windows are created by the following GISDK functions:
GISDK Function |
Summary |
Creates a new COM control window |
|
Creates a new editor window |
|
Creates an editor displaying the results of an SQL query |
|
Creates a new figure window |
|
Creates a new layout window |
|
Creates a new, empty map window |
|
Creates an editor from a file |
|
Creates a new editor window from an editor that appears in a layout |
|
Creates a figure from a file |
|
Creates a new figure window from a figure that appears in a layout |
|
Creates a layout from a file |
|
Opens a map file and displays it in a map window |
|
Creates a new map window from a map that appears in a layout |
These GISDK functions all return the name of the window that was created, and have numerous options that control how the window operates. Here is a quick summary:
Option |
What it does |
Menu |
Names the menu that is associated with the window |
Toolbar |
Names the toolbar that is associated with the window |
Position |
Sets the location of the upper-left corner of the window within the application window |
Size |
Sets the size of the window within the application window |
Activate Macro |
Specifies the name of a macro that is run automatically when the window is activated |
Close Macro |
Specifies the name of a macro that is run automatically when the user closes the window by choosing the Close option from the System menu |
Done Macro |
Specifies the name of a macro that is run automatically after the window is closed |
Some of these options can be changed after a particular window is created. These options are described in detail in the topics that follow. The following GISDK functions are used to manage window options:
GISDK Function |
What it does |
Gets the value of an option from an editor window |
|
Gets the current option settings for a layout |
|
Gets the value of options for a map window |
|
Sets an option for an editor window |
|
Sets an option for an editor window |
|
Sets options for a layout |
|
Sets options for a map window |
Map, editor, and layout windows offer additional options, documented in full in the listing of GISDK functions. Here are a few examples:
Window type |
Optional settings |
Map |
Initial scale and center, scale-change macro |
Editor |
Font size/style, read-only, grid, selection set highlighting, locked columns, highlight macro |
Layout |
Paper cut lines, rulers, and grid settings |
©2025 Caliper Corporation | www.caliper.com |