Maptitude GISDK Help |
Determines whether a window is of a given type.
Added type "COM Control" to Version 2013. Added type "DotNet Control" to Version 2014.
answer = IsWindow(string window_name, array types)
Argument |
Contents |
window_name |
A string of the form "window type|window name" with the name of the window to be tested, or null for the current window |
types |
An array of strings with one or more window types or characteristics: "Frame", "Map", "Editor", "Dataview", "Chart", "Prism Map", "TIN Figure" (3D surface), "Layout", "Iconized", "Maximized", "Normal", "COM Control", "DotNet Control" |
A integer value of 1 if the window is of one of the designated types, or 0 otherwise.
For more information on window types, see Windows.
if IsWindow(win_name, {"Iconized"}) then
MaximizeWindow(win_name)
else
MinimizeWindow(win_name)
Error Type |
Meaning |
NotFound |
There is no window by the given name |
Error |
One of the entries in the types array is invalid |
Function |
Summary |
Gets the type of a figure window |
|
Gets a list of all the windows of a specified type |
|
Gets the type of the current window |
|
Makes a window the currently active window |
©2025 Caliper Corporation | www.caliper.com |