IUIX_CmdItemBox::FindFirstItemByCmdID Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdItemBox::FindFirstItemByCmdID Method}} | {{#customTitle:IUIX_CmdItemBox::FindFirstItemByCmdID Method}} | ||
{{#parentPage:PXV:IUIX_CmdItemBox#Methods|FindFirstItemByCmdID|method}} | {{#parentPage:PXV:IUIX_CmdItemBox#Methods|FindFirstItemByCmdID|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Finds command items in the command items box by the correspondent command's ID. | |
== Syntax == | == Syntax == | ||
Line 14: | Line 13: | ||
== Parameters == | == Parameters == | ||
;nCmdID | ;nCmdID | ||
− | :[in] Value of LONG. | + | :[in] Value of LONG containing the command ID that will be used to find correspondent command items. |
;nIndex | ;nIndex | ||
− | :[out, retval] Pointer to LONG. | + | :[out, retval] Pointer to LONG containing the index of the correspondent item. If no command was found then '''-1''' will be returned. |
== Return Value == | == Return Value == |
Revision as of 07:00, 24 March 2016
Finds command items in the command items box by the correspondent command's ID.
Syntax
HRESULT FindFirstItemByCmdID([in] LONG nCmdID, [out, retval] LONG* nIndex);
Parameters
- nCmdID
- [in] Value of LONG containing the command ID that will be used to find correspondent command items.
- nIndex
- [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.