SetMaxValue method
Available for HScroll, VScroll, ProgressBar, Slider and UpDown objects.
Prototype
SetMaxValue Proto hWnd:HWND, lMaxValue:LONG
Syntax
Invoke SetMaxValue, hWnd, lMaxValue
Function
Sets the MaxValue property for an object.
Parameters
hWnd
Handle to the object.
lMaxValue
A LONG value specifying the new maximum value for the object.
Return value
Eax/Rax returns TRUE if successful, or FALSE if not.