Prev Next

SBM_GETRANGE Overview  Group

An application sends the SBM_GETRANGE message to a scroll bar control to retrieve the minimum and maximum position values for the control.

SBM_GETRANGE 

wParam = (WPARAM) (LPINT) lpnMinPos; // minimum position 

lParam = (LPARAM) (LPINT) lpnMaxPos; // maximum position 

 

Parameters

lpnMinPos
Points to a value that receives the minimum scrolling position.
lpnMaxPos
Points to a value that receives the maximum scrolling position.

Return Values

This message does not return a value.

See Also

SBM_GETPOS, SBM_SETPOS, SBM_SETRANGE, SBM_SETRANGEREDRAW