IPXV_Inst::CreateNewMainFrm Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
m (Automatic page editing by robot)
 
(One intermediate revision by the same user not shown)
Line 8: Line 8:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in]                      HANDLE_T          nWndParent,
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in]                      HANDLE_T          hWndParent,
 
                         [in]                      RECT*            stPos,
 
                         [in]                      RECT*            stPos,
 
                         [in, defaultvalue(0)]      LONG              nCreateFlags,
 
                         [in, defaultvalue(0)]      LONG              nCreateFlags,
Line 14: Line 14:
  
 
== Parameters ==
 
== Parameters ==
;nWndParent
+
;hWndParent
 
:[in]  HANDLE_T Handle to the parent window for the frame.
 
:[in]  HANDLE_T Handle to the parent window for the frame.
 
;stPos
 
;stPos

Latest revision as of 03:55, 15 June 2015


Creates a new main frame window.

Syntax

HRESULT CreateNewMainFrm([in]                       HANDLE_T          hWndParent,
                         [in]                       RECT*             stPos,
                         [in, defaultvalue(0)]      LONG              nCreateFlags,
                         [out, defaultvalue(NULL)]  IPXV_MainFrame**  pMainFrm);

Parameters

hWndParent
[in] HANDLE_T Handle to the parent window for the frame.
stPos
[in] Pointer to RECT structure that contains the location and dimensions of the new frame.
nCreateFlags
[in, defaultvalue(0)] A set of PXV_CreateMainFrmFlags that controlling the new main frame creation.
pMainFrm
[out, defaultvalue(NULL)] Returns pointer to IPXV_MainFrame object that represens the newly created frame.

Return Value

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

See Also

IPXV_Inst