IPXV_Inst::CreateNewMainFrm Method

From PDF XChange PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 5: Line 5:
  
 
== Syntax ==
 
== Syntax ==
<pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in] ULONG_PTR hParentWnd, [in, optional] RECT* pPosition, [in, optional] LONG nCreateFlags, [out, optional] IPXV_MainFrame** ppMainFrm);</pre>
+
<pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in] HANDLE_T hWndParent, [in] RECT* pPos, [in, defaultvalue(0)] LONG nCreateFlags, [out, defaultvalue(NULL)] IPXV_MainFrame** ppMainFrm);</pre>
  
 
== Parameters ==
 
== Parameters ==
;''hParentWnd''
+
;''hWndParent''
:[in]  ULONG_PTR Handle to the Parent window for the frame.
+
:[in]  HANDLE_T Handle to the Parent window for the frame.
;''pPosition''
+
;''pPos''
 
:[in, optional]  Pointer to RECT structure that contains the location and dimensions of the new frame.
 
:[in, optional]  Pointer to RECT structure that contains the location and dimensions of the new frame.
 
;''nCreateFlags''
 
;''nCreateFlags''
:[in, optional]  A LONG variable containing the flags controlling the new frame creation.
+
:[in, defaultvalue(0)]  A LONG variable containing the flags controlling the new frame creation.
 
;''ppMainFrm''
 
;''ppMainFrm''
:[out, optional]  Pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object pointer for the newly created frame.
+
:[out, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object pointer for the newly created frame.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 01:24, 17 April 2015

Creates new main frame window.

Syntax

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

Parameters

hWndParent
[in] HANDLE_T Handle to the Parent window for the frame.
pPos
[in, optional] Pointer to RECT structure that contains the location and dimensions of the new frame.
nCreateFlags
[in, defaultvalue(0)] A LONG variable containing the flags controlling the new frame creation.
ppMainFrm
[out, defaultvalue(NULL)] Pointer to IPXV_MainFrame object pointer for the newly created frame.

Return Value

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

See Also

See also IPXV_Inst, IPXV_MainFrame.