Jump to content

SPBM_SETCURRENTVALUE

From EDM2
Revision as of 04:26, 28 April 2025 by Martini (talk | contribs) (Created page with "{{DISPLAYTITLE:SPBM_SETCURRENTVALUE}} This message causes the component to set or reset the current numeric value or array index. ==Syntax== <pre> param1 LONG lValue; Array value or index.: param2 ULONG ulReserved; Reserved value, should be 0.: </pre> ==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: Succes...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.