IUIX_CmdMenu::DeepFindFirstItemByCmdID Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
 
(7 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#Methods|DeepFindFirstItemByCmdID|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
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, [out] LONG* pIndex, [out] IUIX_CmdMenu** ppOwner);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT DeepFindFirstItemByCmdID([in]   LONG           nCmdID,
 +
                                [out] LONG*           nIndex,
 +
                                [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.
;''pIndex''
+
;nIndex
:[out]  Pointer to LONG.
+
:[out]  Pointer to LONG containing the index of the item in the owner command menu.
;''ppOwner''
+
;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 19: Line 24:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]].
+
[[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.

See Also

IUIX_CmdMenu