Name

Public Const SBM_SETRANGE = &HE2

Synopsis

wParam

The minimum scroll range.

lParam

The maximum scroll range.

Description

Sets the maximum and minimum scroll ranges of the scrollbar control.

Return Value

The previous position of the scrollbox; if the scrollbox did not move.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.