IUIX_CmdHandler::OnGetItemSubMenu 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_CmdHandler::OnGetItemSubMenu Method}} | {{#customTitle:IUIX_CmdHandler::OnGetItemSubMenu Method}} | ||
{{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetItemSubMenu|method}} | {{#parentPage:PXV:IUIX_CmdHandler#Methods|OnGetItemSubMenu|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets command item's [[PXV:IUIX_CmdMenu|sub-menu]]. | |
== Syntax == | == Syntax == | ||
<pre class="brush:cpp;gutter:false">HRESULT OnGetItemSubMenu([in] IUIX_CmdItem* pItem, | <pre class="brush:cpp;gutter:false">HRESULT OnGetItemSubMenu([in] IUIX_CmdItem* pItem, | ||
− | [out] IUIX_CmdMenu** | + | [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. |
− | ; | + | ;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 == |
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.