Maptitude GISDK Help

GetWindowType()

Summary

Gets the type of the current window.

 

Changes

Added type "COM Control" to Version 2013. Added type "DotNet Control" to Version 2014.

 

Syntax

win_typ = GetWindowType()

 

Returns

A string indicating the window type ("Map", "Editor", "Figure", "Layout", "Frame", "COM Control", or "DotNet Control").

 

Example

wt = GetWindowType()

if wt = "Map" then PrintMap(opts)

 

See Also

Function Summary
GetFigureType() Gets the type of a figure window
GetWindows() Gets a list of all the windows of a specified type
GetWindowName() Gets the name of the current window
IsWindow() Determines whether a window is of a given type
SetWindow() Makes a window the currently active window

 

 

©2025 Caliper Corporation www.caliper.com