IUIX_CmdMenu::DeepFindFirstItemByCmdID Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
{{#customTitle:IUIX_CmdMenu::DeepFindFirstItemByCmdID Method}} | {{#customTitle:IUIX_CmdMenu::DeepFindFirstItemByCmdID Method}} | ||
{{#parentPage:PXV:IUIX_CmdMenu#Methods|DeepFindFirstItemByCmdID|method}} | {{#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 == |
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.