IUIX_CmdHandler::OnGetItemSubMenu 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_CmdHandler::OnGetItemSubMenu Method}}
 
{{#customTitle:IUIX_CmdHandler::OnGetItemSubMenu Method}}
 +
{{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetItemSubMenu|method}}
 +
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Gets command item's [[PXV:IUIX_CmdMenu|sub-menu]].
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT OnGetItemSubMenu([in] IUIX_CmdItem* pItem, [out] IUIX_CmdMenu** ppSubMenu);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT OnGetItemSubMenu([in]   IUIX_CmdItem*   pItem,
 +
                        [out] IUIX_CmdMenu** pSubMenu);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''pItem''
+
;pItem
:[in]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]].
+
:[in]  Pointer to [[PXV:IUIX_CmdItem|IUIX_CmdItem]] containing the source command item.
;''ppSubMenu''
+
;pSubMenu
:[out]  Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]].
+
:[out]  Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]] containing the resulting sub-menu.
  
 
== Return Value ==
 
== Return Value ==
Line 17: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IUIX_CmdHandler|IUIX_CmdHandler]].
+
[[PXV:IUIX_CmdHandler|IUIX_CmdHandler]]

Latest revision as of 01:23, 4 April 2016


Gets command item's sub-menu.

Syntax

HRESULT OnGetItemSubMenu([in]   IUIX_CmdItem*   pItem,
                         [out]  IUIX_CmdMenu**  pSubMenu);

Parameters

pItem
[in] Pointer to IUIX_CmdItem containing the source command item.
pSubMenu
[out] Pointer to IUIX_CmdMenu containing the resulting sub-menu.

Return Value

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

See Also

IUIX_CmdHandler