IUIX_Combo::FindItemByParam Method

From PDF XChange PDF SDK
Revision as of 21:26, 21 May 2015 by Dsbot (Talk | contribs) (Automatic page editing by robot)

Jump to: navigation, search


Gets index of an item with a given parameter.

Syntax

HRESULT FindItemByParam([in]           PARAM_T  nItemParam,
                        [out, retval]  LONG*    pIndex);

Parameters

nItemParam
[in] PARAM_T parameter value to search for.
pIndex
[out, retval] index of found item. Returns -1 if no items with given parameters were found. If there are more than one items with equal parameter values, index of the first of them in combo box list will be returned.

Return Value

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

See Also

IUIX_Combo.