Maptitude GISDK Help

GetWindowPosition()

Summary

Gets the position of a window.

 

Syntax

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

 

Returns

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

 

Notes

Example

fpos = GetWindowPosition("Frame|")

mpos = GetWindowPosition("Map|United States")

 

See Also

Function

Summary

SetWindowPosition()

Sets the position of the a window

GetWindowSize()

Determines the size of a window

 

 

©2025 Caliper Corporation www.caliper.com