IUIX_CmdManager::ShowPopupMenu Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT ShowPopupMenu([in] IUIX_Obj* pOwner, [in] IUIX_CmdMenu* pMenu, [in] RECT* pPos, [in, optional] VARIANT_BOOL bReturnCmd, [in, optional] LONG nPopupFlags, [out, retval] LONG* pResCmdID);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT ShowPopupMenu([in] IUIX_Obj* pOwner, [in] IUIX_CmdMenu* pMenu, [in] RECT* pPos, [in, defaultvalue(0)] VARIANT_BOOL bReturnCmd, [in, defaultvalue(0)] LONG nPopupFlags, [out, retval] LONG* pResCmdID);</pre>
  
 
== Parameters ==
 
== Parameters ==
Line 15: Line 15:
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
 
;''bReturnCmd''
 
;''bReturnCmd''
:[in, optional]  Value of VARIANT_BOOL.
+
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
;''nPopupFlags''
 
;''nPopupFlags''
:[in, optional]  Value of LONG.
+
:[in, defaultvalue(0)]  Value of LONG.
 
;''pResCmdID''
 
;''pResCmdID''
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.

Revision as of 00:58, 17 April 2015

The method of interface of PDF-XChange Editor SDK.

Syntax

HRESULT ShowPopupMenu([in] IUIX_Obj* pOwner, [in] IUIX_CmdMenu* pMenu, [in] RECT* pPos, [in, defaultvalue(0)] VARIANT_BOOL bReturnCmd, [in, defaultvalue(0)] LONG nPopupFlags, [out, retval] LONG* pResCmdID);

Parameters

pOwner
[in] Pointer to IUIX_Obj.
pMenu
[in] Pointer to IUIX_CmdMenu.
pPos
[in] Pointer to RECT.
bReturnCmd
[in, defaultvalue(0)] Value of VARIANT_BOOL.
nPopupFlags
[in, defaultvalue(0)] Value of LONG.
pResCmdID
[out, retval] Pointer to LONG.

Return Value

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

See Also

See also IUIX_CmdManager.