IUIX_Combo::SelItemByParam Method

From PDF XChange PDF SDK
Revision as of 08:33, 8 May 2015 by Oleh (Talk | contribs)

Jump to: navigation, search


Selects an item with a required parameter value.

Syntax

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

Parameters

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

Return Value

Returns S_OK if operation was successful or error code in other cases.

See Also

See also IUIX_Combo.