GetValue method


Available for Check, Radio, HScroll, VScroll, ProgressBar, Slider and UpDown objects.

Prototype

GetValue Proto hWnd:HWND

Syntax

Invoke GetValue, hWnd

Function

Gets the Value property for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the current value for the object.


REMARKS: For Check and Radio objects this value can be BST_CHECKED or BST_UNCHECKED, while for HScroll, VScroll, ProgressBar, Slider and UpDown objects it can be a value between MinValue and MaxValue properties.