Maptitude GISDK Help

Windows

GISDK lets you create, manipulate, and close different types of windows. GISDK supports these types of windows: maps, editors (including dataviews), figures, layouts, COM controls, and a special type of window called the frame. The frame is the Maptitude program window as it appears when no maps, editors, figures, or layouts are open.

 

You can control the location, size, and other settings for each window. Except for COM controls, you can save the settings of a window to a file, or open a file and create a window from its settings.

 

You can also attach menus and toolbars to each and every window, and create macros that run automatically either when a user clicks in a window to activate it, or when a user closes the window. These capabilities let you separately customize the interface for each window in your application. The Standard Interface, however, has only one menu system for all windows, and only one toolbar for each window type.

 

Every window has a name that distinguishes it from all other windows of the same type. For example, your application could have six different windows as shown in the table:

 

Window

Type

Name

1

Map

US Streets

2

Map

States

3

Map

US Streets:1

4

Editor

US Streets

5

Editor

State Data

6

Layout

Untitled

 

No two windows can have the same name, although as indicated in the above example, a window of one type can have the same name as a window of another type. The windows in GISDK are also identified by name, where the window name is of the form window type|window name. For example, "Map|US Streets", "Editor|State Data", and "Layout|Untitled" are all valid window names in the above example.

 

Most window management GISDK functions can accept a null value for the window name. In this case, GISDK applies the function to the most recently activated window. In addition, GISDK functions that work on only one type of window (e.g., CloseMap()) take the window name without the window type.

 

For more information, see:

Creating Windows

Working with Windows

Closing Windows

Controlling Window Size and Location

Attaching Menus and Toolbars

Window Macros

Saving and Loading Windows

Window Data

 

 

©2025 Caliper Corporation www.caliper.com