Phantom Documentation

[Help Home] [Phantom Home]
GetPos

int iPos = window.GetPos();

Applicable Classes: ScrollBar

Parameters: None
Return Value:
int iPos - The position of the slider in the ScrollBar.  This number will be between the maximum and minimum values of the ScrollBar.

Description:
This function retrieves the current position of a ScrollBar. This value is somewhere between the minimum value (obtained by calling GetMinimum) and the maximum value of the ScrollBar (obtained by calling GetMaximim).

For an example, see the ScrollBar functions page.


See Also: ScrollBar Functions



Copyright 2000-2011 Phantom Automated Solutions