Maptitude GISDK Help

GetWindows()

Summary

Gets a list of all the windows of a specified type.

 

Changes

Added type "Dataview" to Version 2013.

 

Syntax

window_list = GetWindows(string type_name)

 

Argument

Contents

type_name

Window type ("Map", "Editor", "Dataview", "Layout", "Figure", or "All", the default)

 

Returns

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)

 

Notes

Example

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.")

 

See Also

Function

Summary

GetWindowName()

Gets the name of the current window

GetWindowType()

Gets the type of the current window

 

 

©2025 Caliper Corporation www.caliper.com