IUIX_CmdManager::GetContextMenuNotifyInfo Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IUIX_CmdManager::GetContextMenuNotifyInfo Method}} | {{#customTitle:IUIX_CmdManager::GetContextMenuNotifyInfo Method}} | ||
− | {{#parentPage:PXV:IUIX_CmdManager|GetContextMenuNotifyInfo | + | {{#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 == | ||
Line 24: | Line 24: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IUIX_CmdManager|IUIX_CmdManager]] |
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.