IPXV_Inst::CreateNewMainFrm Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
Line 8: | Line 8: | ||
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in] HANDLE_T | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in] HANDLE_T hWndParent, |
− | [in] RECT* | + | [in] RECT* Pos, |
− | [in, defaultvalue(0)] LONG | + | [in, defaultvalue(0)] LONG CreateFlags, |
− | [out, defaultvalue(NULL)] IPXV_MainFrame** | + | [out, defaultvalue(NULL)] IPXV_MainFrame** MainFrm);</pre> |
== Parameters == | == Parameters == | ||
− | ; | + | ;hWndParent |
:[in] HANDLE_T Handle to the parent window for the frame. | :[in] HANDLE_T Handle to the parent window for the frame. | ||
− | ; | + | ;Pos |
:[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. | ||
− | ; | + | ;CreateFlags |
:[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. | ||
− | ; | + | ;MainFrm |
:[out, defaultvalue(NULL)] Returns pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object that represens the newly created frame. | :[out, defaultvalue(NULL)] Returns pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object that represens the newly created frame. | ||
Revision as of 07:31, 12 June 2015
Creates a new main frame window.
Syntax
HRESULT CreateNewMainFrm([in] HANDLE_T hWndParent, [in] RECT* Pos, [in, defaultvalue(0)] LONG CreateFlags, [out, defaultvalue(NULL)] IPXV_MainFrame** MainFrm);
Parameters
- hWndParent
- [in] HANDLE_T Handle to the parent window for the frame.
- Pos
- [in] Pointer to RECT structure that contains the location and dimensions of the new frame.
- CreateFlags
- [in, defaultvalue(0)] A set of PXV_CreateMainFrmFlags that controlling the new main frame creation.
- MainFrm
- [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.