SetValue method
Available for Check, Radio, HScroll, VScroll, ProgressBar, Slider and UpDown objects.
Syntax
InvokeSetValue, hWnd, lValue
Function
Sets the Value property for an object.
Parameters
hWnd
Handle to the object.
lValue
A DD value specifying the new value for the object.
Return value
Eax returns TRUE if succesful, or FALSE if not.
REMARKS: For Check and Radio objects
lValue must be BST_CHECKED or BST_UNCHECKED, while for HScroll, VScroll, ProgressBar,
Slider and UpDown objects, lValue must be a value between MinValue and MaxValue
properties.