CHAILink SDK  Version 1.3
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
typedef void(* NH_INPUTPARAM_ONSELECTORUPDATE)(CPHOBJECT const hInput, CPUINT32 const dwInputUserData, CPHOBJECT const hParameter, CPUINT32 const dwParameterUserData, CPHOBJECT const hSelectorItemList, CPUINT16 const wValue, CPSELECTORMSG const *const pSelector)

A Selector message related to this Parameter has been received. The updated item argument points corresponds to the value provided by the Selector message, except in case of proportional or relative Selector. In this case, the selected item is calculated from the Selector Item list size (proportional mode) or from the last known current value (relative mode). The original Selector message object is also forwarded to provide all of its content to the application (automation,...).

Warning
CAUTION! the item pointer might be NULL if non of the Selector Item list element matches the Selector message value.
Remarks
It's up to the application to decide if it's relevant to notify a value change using Parameter_DeclareParameterChanged
Parameters
[in]hInputHandle to the notified input.
[in]dwInputUserDataThe user data associated to the input handle during its creation.
[in]hParameterHandle to the related parameter
[in]dwParameterUserDataThe user data associated to the parameter handle during its creation.
[in]hSelectorItemListHandle to the selector item list related to the parameter
[in]wValueThe Selector value
[in]pSelectorPointer to the Selector message