Export (0) Print
Expand All

SBM_GETRANGE message

The SBM_GETRANGE message is sent to retrieve the minimum and maximum position values for the scroll bar control.

Applications should not send this message directly. Instead, they should use the GetScrollRange function. A window receives this message through its WindowProc function. Applications which implement a custom scroll bar control must respond to these messages for the GetScrollRange function to work properly.

Parameters

wParam

Pointer to a variable that receives the minimum scrolling position.

lParam

Pointer to a variable that receives the maximum scrolling position.

Return value

This message does not return a value.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
SBM_GETPOS
SBM_SETPOS
SBM_SETRANGE
SBM_SETRANGEREDRAW

 

 

Community Additions

ADD
Show:
© 2014 Microsoft