IPXV_Inst::CreateNewMainFrm Method

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
Line 2: Line 2:
 
{{#customTitle:IPXV_Inst::CreateNewMainFrm Method}}
 
{{#customTitle:IPXV_Inst::CreateNewMainFrm Method}}
  
The method of interface of PDF-XChange Editor SDK.
+
Creates new main frame window.
  
 
== Syntax ==
 
== Syntax ==
Line 9: Line 9:
 
== Parameters ==
 
== Parameters ==
 
;''hParentWnd''
 
;''hParentWnd''
:[in]  Value of ULONG_PTR.
+
:[in]  ULONG_PTR Handle to the Parent window for the frame.
 
;''pPosition''
 
;''pPosition''
:[in, optional]  Pointer to RECT.
+
:[in, optional]  Pointer to RECT structure that contains the location and dimensions of the new frame.
 
;''nCreateFlags''
 
;''nCreateFlags''
:[in, optional]  Value of LONG.
+
:[in, optional]  A LONG variable containing the flags controlling the new frame creation.
 
;''ppMainFrm''
 
;''ppMainFrm''
:[out, optional]  Pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]].
+
:[out, optional]  Pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object pointer for the newly created frame.
  
 
== Return Value ==
 
== Return Value ==
Line 21: Line 21:
  
 
== See Also ==
 
== See Also ==
See also [[PXV:IPXV_Inst|IPXV_Inst]].
+
See also [[PXV:IPXV_Inst|IPXV_Inst]], [[PXV:IPXV_MainFrame|IPXV_MainFrame]].

Revision as of 03:44, 21 March 2015

Creates new main frame window.

Syntax

HRESULT CreateNewMainFrm([in] ULONG_PTR hParentWnd, [in, optional] RECT* pPosition, [in, optional] LONG nCreateFlags, [out, optional] IPXV_MainFrame** ppMainFrm);

Parameters

hParentWnd
[in] ULONG_PTR Handle to the Parent window for the frame.
pPosition
[in, optional] Pointer to RECT structure that contains the location and dimensions of the new frame.
nCreateFlags
[in, optional] A LONG variable containing the flags controlling the new frame creation.
ppMainFrm
[out, optional] 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.