| Maptitude GISDK Help |
Gets a list of all the windows of a specified type.
Added type "Dataview" to Version 2013.
window_list = GetWindows(string type_name)
| Argument | Contents |
|---|---|
| type_name | Window type ("Map", "Editor", "Dataview", "Layout", "Figure", or "All", the default) |
An array of three elements:
| Element | Type | Contents |
|---|---|---|
| 1 | Array | An array of window names (strings) |
| 2 | Array | An array of window types (strings) |
| 3 | Array | An array of window titles (strings) |
Calling GetWindows("All") returns listings of all windows.
The first element, window name, is used as an argument to many GISDK functions.
For more information on window types, see Windows.
mapwins = GetWindows("Map")
mw_names = mapwins[1]
allwins = GetWindows("All")
aw_names = allwins[1]
ShowMessage(String(mw_names.length) + " out of " + String(aw_names.length) +
" windows are maps.")
| Function | Summary |
|---|---|
| GetWindowName() | Gets the name of the current window |
| GetWindowType() | Gets the type of the current window |
| ©2025 Caliper Corporation | www.caliper.com |