SBM_GETRANGE

This message is sent by an application to a scroll bar control to retrieve the minimum and maximum position values for the control.

SBM_GETRANGE wParam = (WPARAM) (LPINT) lpnMinPos; 
  lParam = (LPARAM) (LPINT) lpnMaxPos;

Parameters

  • lpnMinPos
    Long pointer to a value that receives the minimum scrolling position.
  • lpnMaxPos
    Long pointer to a value that receives the maximum scrolling position.

Return Values

None.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

SBM_GETPOS | SBM_SETPOS | SBM_SETRANGE | SBM_SETRANGEREDRAW

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.