IUIX_CmdItemBox::FindFirstItemByCmdID Method

From PDF XChange PDF SDK
Revision as of 08:02, 24 March 2016 by Palamar (Talk | contribs)

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

Searches for the first command item in the command items box by the correspondent command's ID.


HRESULT FindFirstItemByCmdID([in]           LONG   nCmdID,
                             [out, retval]  LONG*  nIndex);


[in] Value of LONG containing the command's ID that will be used to find first correspondent command item.
[out, retval] Pointer to LONG containing the index of the correspondent item. If no command was found then -1 will be returned.

Return Value

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

See Also