IUIX_Dialog::SetItemSelByParam Method

From PDF XChange PDF SDK
Revision as of 15:45, 15 June 2015 by Johnv (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

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


HRESULT SetItemSelByParam([in]  BSTR     sItemID,
                          [in]  PARAM_T  nParam);


[in] text ID of a required dialog object.
[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 the operation was successful, or will return an error code if it fails.

See Also