IUIX_Inst::ShowPopup Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
 
(8 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IUIX_Inst::ShowPopup Method}}
 
{{#customTitle:IUIX_Inst::ShowPopup Method}}
{{#parentPage:PXV:IUIX_Inst|ShowPopup Method|method}}
+
{{#parentPage:PXV:IUIX_Inst#Methods|ShowPopup|method}}
{{ToWrite}}
+
 
{{ToReview}}
 
{{ToReview}}
  
The method of interface of PDF-XChange Editor SDK.
+
Show popup window with specified "content window".
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">HRESULT ShowPopup([in]                      IUIX_Obj*  pOwner,
 
<pre class="brush:cpp;gutter:false">HRESULT ShowPopup([in]                      IUIX_Obj*  pOwner,
 
                   [in]                      IUIX_Obj*  pContent,
 
                   [in]                      IUIX_Obj*  pContent,
                   [in]                      RECT*      pPos,
+
                   [in]                      RECT*      stPos,
 
                   [in, defaultvalue(0)]    LONG      nFlags,
 
                   [in, defaultvalue(0)]    LONG      nFlags,
 
                   [in, defaultvalue(NULL)]  IUIX_Obj*  pNotifyTarget);</pre>
 
                   [in, defaultvalue(NULL)]  IUIX_Obj*  pNotifyTarget);</pre>
Line 17: Line 16:
 
== Parameters ==
 
== Parameters ==
 
;pOwner
 
;pOwner
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. This window will receive all notifies from <code>pContent</code> as parent.
 
;pContent
 
;pContent
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[in]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]] with window of content of popup. Popup can work with some window inside only. Some decoration features should be specified in nFlags parameter.
;pPos
+
;stPos
:[in]  Pointer to RECT.
+
:[in]  Pointer to RECT in screen coordinates, which will be used by popup to stick to it. Rules for stick specified at nFlags parameter.
 
;nFlags
 
;nFlags
:[in, defaultvalue(0)]  Value of LONG.
+
:[in, defaultvalue(0)]  Combination of flags of [[PXV:UIX_ShowPopupFlags|UIX_ShowPopupFlags]].
 
;pNotifyTarget
 
;pNotifyTarget
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]].
+
:[in, defaultvalue(NULL)]  Pointer to [[PXV:IUIX_Obj|IUIX_Obj]]. In case of nonzero value it will receive all notifies from content window or control instead of owner.
  
 
== Return Value ==
 
== Return Value ==
Line 31: Line 30:
  
 
== See Also ==
 
== See Also ==
[[PXV:IUIX_Inst|IUIX_Inst]].
+
[[PXV:IUIX_Inst|IUIX_Inst]], [[PXV:UIX_ShowPopupFlags|UIX_ShowPopupFlags]]

Latest revision as of 03:43, 7 December 2015


Show popup window with specified "content window".

Syntax

HRESULT ShowPopup([in]                      IUIX_Obj*  pOwner,
                  [in]                      IUIX_Obj*  pContent,
                  [in]                      RECT*      stPos,
                  [in, defaultvalue(0)]     LONG       nFlags,
                  [in, defaultvalue(NULL)]  IUIX_Obj*  pNotifyTarget);

Parameters

pOwner
[in] Pointer to IUIX_Obj. This window will receive all notifies from pContent as parent.
pContent
[in] Pointer to IUIX_Obj with window of content of popup. Popup can work with some window inside only. Some decoration features should be specified in nFlags parameter.
stPos
[in] Pointer to RECT in screen coordinates, which will be used by popup to stick to it. Rules for stick specified at nFlags parameter.
nFlags
[in, defaultvalue(0)] Combination of flags of UIX_ShowPopupFlags.
pNotifyTarget
[in, defaultvalue(NULL)] Pointer to IUIX_Obj. In case of nonzero value it will receive all notifies from content window or control instead of owner.

Return Value

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

See Also

IUIX_Inst, UIX_ShowPopupFlags