Jump to content

SBM QUERYRANGE

From EDM2

This message returns the scroll bar range minimum and maximum values.

Syntax

param1
ULONG ulReserved;   /* Reserved value, should be 0. */

param2
ULONG ulReserved;   /* Reserved value, should be 0. */

returns
SHORT sfirst;     /* First bound. */
SHORT slast;      /* Last bound. */

Parameters

ulReserved (ULONG) - Input
Reserved value, should be 0.
ulReserved (ULONG) - Input
Reserved value, should be 0.

Returns

sfirst (SHORT) - returns
First bound.
slast (SHORT) - returns
Last bound.

Remarks

The scroll bar control window procedure responds to this message by returning the first and last bounds of the scroll bar range.

Default Processing

The default window procedure does not expect to receive this message and therefore takes no action on it, other than to set ReturnCode to the default value of sfirst and slast to 0.