Jump to content

SPBM_QUERYLIMITS

From EDM2

This message enables an application to query the limits of a numeric spin field.

Syntax

param1
PLONG plUpLimit;  /* Pointer to a LONG that will receive the returned upper
                     limit. */

param2
PLONG plLowLimit; /* Pointer to a LONG that will receive the returned lower
                     limit. */

Parameters

plUpLimit (PLONG) - input
Pointer to a LONG that will receive the returned upper
limit.
plLowLimit (PLONG) - input
Pointer to a LONG that will receive the returned lower
limit.

Returns

rc (BOOL) - return
Success indicator.
TRUE: Successful completion.
FALSE: Error occurred.

Remarks

The application sends this message to the component to determine the limits of a numeric spin field. When the spin button has no data, or when it is spinning an array, FALSE is returned.

Default Processing

The default window procedure does not expect to receive this message and takes no action other than to return FALSE.