IUIX_CmdMenu::DeepFindFirstItemByCmdID Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdMenu::DeepFindFirstItemByCmdID Method}} | {{#customTitle:IUIX_CmdMenu::DeepFindFirstItemByCmdID Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdMenu|DeepFindFirstItemByCmdID | + | {{#parentPage:PXV:IUIX_CmdMenu#Methods|DeepFindFirstItemByCmdID|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | + | Recursively finds owner command menu and index of the menu item inside of it that corresponds to the given command ID. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT DeepFindFirstItemByCmdID([in] LONG nCmdID, | <pre class="brush:cpp;gutter:false">HRESULT DeepFindFirstItemByCmdID([in] LONG nCmdID, | ||
− | [out] LONG* | + | [out] LONG* nIndex, |
− | [out] IUIX_CmdMenu** | + | [out] IUIX_CmdMenu** pOwner);</pre> |
== Parameters == | == Parameters == | ||
;nCmdID | ;nCmdID | ||
− | :[in] Value of LONG. | + | :[in] Value of LONG containing the command ID that needs to be searched for. |
− | ; | + | ;nIndex |
− | :[out] Pointer to LONG. | + | :[out] Pointer to LONG containing the index of the item in the owner command menu. |
− | ; | + | ;pOwner |
− | :[out] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]]. | + | :[out] Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] containing the owner command menu. |
== Return Value == | == Return Value == | ||
Line 24: | Line 24: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] |
Latest revision as of 06:22, 31 March 2016
Recursively finds owner command menu and index of the menu item inside of it that corresponds to the given command ID.
Syntax
HRESULT DeepFindFirstItemByCmdID([in] LONG nCmdID, [out] LONG* nIndex, [out] IUIX_CmdMenu** pOwner);
Parameters
- nCmdID
- [in] Value of LONG containing the command ID that needs to be searched for.
- nIndex
- [out] Pointer to LONG containing the index of the item in the owner command menu.
- pOwner
- [out] Pointer to IUIX_CmdMenu containing the owner command menu.
Return Value
Returns S_OK if operation was successful or error code in other cases.