Jump to content

SPBM SETCURRENTVALUE: Difference between revisions

From EDM2
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..."
 
(No difference)

Latest revision as of 03:26, 28 April 2025

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.