UID_StateGetVariableIdByIndex

Definition

Delphi

function UID_StateGetVariableIdByIndex(DlgHandle, stateId, VariableIndex: Cardinal; variableId: Pcardinal): Boolean;

C/C++

bool UID_StateGetVariableIdByIndex(unsined int DlgHandle, unsigned int stateId, unsigned int VariableIndex, unsigned int *variableId);

ActiveX

HRESULT _stdcall UID_StateGetVariableIdByIndex([in] unsigned long DialogHandle, [in] unsigned long StateId, [in] unsigned long VariableIndex, [out] unsigned long* VariableId, [out, retval] VARIANT_BOOL* Result);

Description

This function works the same way as UID_StateGetVariableId, but it uses an integer VariableIndex for dialog variable selection instead of a variable's name string.

Arguments

DlgHandle

Unused.

stateId

Integer representation of a dialog state, see possible states at State types.

VariableIndex

Integer index used for variable selection.

VariableId

Pointer to an integer that will be initialized to an identifier for a selected variable upon successful function call.

Return value

True on success, false otherwise.