Phantom Documentation

[Help Home] [Phantom Home]
GetWindowX

int iX = window.GetWindowX();

Applicable Classes: All (Except Menu)

Parameters: None
Return Value:
int iX - The x coordinate of the upper left hand corner of the window.

Description:
Retrieves the x coordinate of the upper left hand corner of the window.  The value is relative to the screen (Left-Top is 0,0).

For an example, see the MoveWin function.

See Also: MainWin Functions, GetWindowY, MoveWin



Copyright 2000-2011 Phantom Automated Solutions