IPXV_Inst::CreateNewMainFrm Method

From PDF XChange PDF SDK
Jump to: navigation, search
Line 15: Line 15:
 
== Parameters ==
 
== Parameters ==
 
;hWndParent
 
;hWndParent
:[in]  HANDLE_T Handle to the parent window for the frame. Pass NULL to create the floating frame window or window-handle of your form/container to integrate the new frame window into your.
+
:[in]  HANDLE_T Handle to the parent window for the frame.
 
;pPos
 
;pPos
 
:[in]  Pointer to RECT structure that contains the location and dimensions of the new frame.
 
:[in]  Pointer to RECT structure that contains the location and dimensions of the new frame.
Line 21: Line 21:
 
:[in, defaultvalue(0)]  A set of [[PXV:PXV_CreateMainFrmFlags|PXV_CreateMainFrmFlags]] that controlling the new main frame creation.
 
:[in, defaultvalue(0)]  A set of [[PXV:PXV_CreateMainFrmFlags|PXV_CreateMainFrmFlags]] that controlling the new main frame creation.
 
;ppMainFrm
 
;ppMainFrm
:[out, defaultvalue(NULL)]  Pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object pointer for the newly created frame.
+
:[out, defaultvalue(NULL)]  Returns pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object that represens the newly created frame.
  
 
== Return Value ==
 
== Return Value ==

Revision as of 14:59, 24 May 2015


Creates a 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] 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.
ppMainFrm
[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