IUIX_CmdManager::GetContextMenuNotifyInfo 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_CmdManager::GetContextMenuNotifyInfo Method}} | {{#customTitle:IUIX_CmdManager::GetContextMenuNotifyInfo Method}} | ||
{{#parentPage:PXV:IUIX_CmdManager#Methods|GetContextMenuNotifyInfo|method}} | {{#parentPage:PXV:IUIX_CmdManager#Methods|GetContextMenuNotifyInfo|method}} | ||
− | |||
{{ToReview}} | {{ToReview}} | ||
− | + | Gets top parent's context menu information. | |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT GetContextMenuNotifyInfo([out] IUIX_Obj** | + | <pre class="brush:cpp;gutter:false">HRESULT GetContextMenuNotifyInfo([out] IUIX_Obj** pOwner, |
− | [out] POINT* | + | [out] POINT* stOrigin, |
− | [out] VARIANT_BOOL* | + | [out] VARIANT_BOOL* bFromKeyboard);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;pOwner |
− | :[out] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. | + | :[out] Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] containing the top parent popup container owner's object. |
− | ; | + | ;stOrigin |
− | :[out] Pointer to POINT. | + | :[out] Pointer to POINT containing the origin point of the popup menu. |
− | ; | + | ;bFromKeyboard |
− | :[out] Pointer to VARIANT_BOOL. | + | :[out] Pointer to VARIANT_BOOL representing whether the menu is called from keyboard. |
== Return Value == | == Return Value == |
Latest revision as of 06:53, 4 April 2016
Gets top parent's context menu information.
Syntax
HRESULT GetContextMenuNotifyInfo([out] IUIX_Obj** pOwner, [out] POINT* stOrigin, [out] VARIANT_BOOL* bFromKeyboard);
Parameters
- pOwner
- [out] Pointer to IUIX_Obj containing the top parent popup container owner's object.
- stOrigin
- [out] Pointer to POINT containing the origin point of the popup menu.
- bFromKeyboard
- [out] Pointer to VARIANT_BOOL representing whether the menu is called from keyboard.
Return Value
Returns S_OK if operation was successful or error code in other cases.