IUIX_CmdHandler::OnGetItemSubMenu Method

From PDF XChange PDF SDK
Jump to: navigation, search


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