IUIX_Dialog::SetItemSelByParam2 Method

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

Jump to: navigation, search


Selects an item with a given parameter in a list of a dialog object.

Dialog object is picked via its numerical ID and must implement IUIX_List, IUIX_Combo or IUIX_Tree interface.

Syntax

HRESULT SetItemSelByParam2([in]  LONG     nItemID,
                           [in]  PARAM_T  nParam);

Parameters

nItemID
[in] numerical ID of a required dialog object.
nParam
[in] parameter value of an item that must be selected. If there is more than one item with a given parameter, the first of these items in a list will be selected.

Return Value

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

See Also

IUIX_Dialog.