GetMaxValue method


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

Prototype

GetMaxValue Proto hWnd:HWND

Syntax

Invoke GetMaxValue, hWnd

Function

Gets the MaxValue property for an object.

Parameters

hWnd

Handle to the object.

Return value

Eax returns the current maximum value for the object.

REMARKS: For HScroll and VScroll objects, the difference between minimum and maximum values must not be greater than 65535.