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 1: Line 1:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_CmdManager::ShowPopupMenu Method}}
 
{{#customTitle:IUIX_CmdManager::ShowPopupMenu Method}}
{{#parentPage:PXV:IUIX_CmdManager|method}}
+
{{#parentPage:PXV:IUIX_CmdManager|ShowPopupMenu Method|method}}
 
{{ToWrite}}
 
{{ToWrite}}
 
{{ToReview}}
 
{{ToReview}}
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<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>
+
<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 ==
;''pOwner''
+
;pOwner
 
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
 
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
;''pMenu''
+
;pMenu
 
:[in]  Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]].
 
:[in]  Pointer to [[PXV:IUIX_CmdMenu|IUIX_CmdMenu]].
;''pPos''
+
;pPos
 
:[in]  Pointer to RECT.
 
:[in]  Pointer to RECT.
;''bReturnCmd''
+
;bReturnCmd
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
 
:[in, defaultvalue(0)]  Value of VARIANT_BOOL.
;''nPopupFlags''
+
;nPopupFlags
 
:[in, defaultvalue(0)]  Value of LONG.
 
:[in, defaultvalue(0)]  Value of LONG.
;''pResCmdID''
+
;pResCmdID
 
:[out, retval]  Pointer to LONG.
 
:[out, retval]  Pointer to LONG.
  

Revision as of 05:37, 23 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.