Maptitude GISDK Help |
Gets the position of a window.
win_position = GetWindowPosition(string window)
Argument |
Contents |
window |
String of the form "window type|window name," or "window name" if the window name is unique among the window types, or null for the current window |
An array of two integers indicating the position of the upper-left hand corner of the window:
Element |
Type |
Contents |
1 |
Integer |
X-coordinate of the upper-left corner |
2 |
Integer |
Y-coordinate of the upper-left corner |
For map, layout, and editor windows, the position values are expressed as percentages of the frame window. For the frame window, the position values are percentages of the Windows desktop.
The values returned by GetWindowPosition() are alwasy between 0 and 100, inclusive.
For more information on window types, see Windows.
fpos = GetWindowPosition("Frame|")
mpos = GetWindowPosition("Map|United States")
Function |
Summary |
Sets the position of the a window |
|
Determines the size of a window |
©2025 Caliper Corporation | www.caliper.com |