SPBM_SETCURRENTVALUE
Appearance
This message causes the component to set or reset the current numeric value or array index.
Syntax
param1 LONG lValue; /* Array value or index. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- lValue (LONG) - input
- Array value or index.
- Current value or index of array.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- rc (BOOL) - return
- Success indicator.
- TRUE: Successful completion.
- FALSE: Error occurred.
Remarks
The application sends this message to the component to set or reset the current numeric value or array index. FALSE is returned when the value is out of range or there is no spin data.
Default Processing
The default window procedure does not expect to receive this message and takes no action other than to return FALSE.