IUIX_Combo::SelItemByParam Method

From PDF XChange PDF SDK
Jump to: navigation, search


Selects an item with a required parameter value.

Syntax

HRESULT SelItemByParam([in]                               PARAM_T  nItemParam,
                       [out, retval, defaultvalue(NULL)]  LONG*    nIndex);

Parameters

nItemParam
[in] parameter of an item that is to be selected.
nIndex
[out, retval, defaultvalue(NULL)] optional value of selected item number. Returns -1 if there were no items with a given parameter.

Return Value

Returns S_OK if the operation was successful, or will return an error code if it fails.

See Also

IUIX_Combo