IPXV_Inst::CreateNewMainFrm Method
From PDF XChange PDF SDK
m (Automatic page editing by robot) |
m (Automatic page editing by robot) |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
{{#customTitle:IPXV_Inst::CreateNewMainFrm Method}} | {{#customTitle:IPXV_Inst::CreateNewMainFrm Method}} | ||
− | {{#parentPage:PXV:IPXV_Inst|method | + | {{#parentPage:PXV:IPXV_Inst#Methods|CreateNewMainFrm|method}} |
− | + | ||
{{ToReview}} | {{ToReview}} | ||
− | Creates new main frame window. | + | Creates a new main frame window. |
== Syntax == | == Syntax == | ||
− | <pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in] HANDLE_T hWndParent, [in] RECT* | + | <pre class="brush:cpp;gutter:false">HRESULT CreateNewMainFrm([in] HANDLE_T hWndParent, |
+ | [in] RECT* stPos, | ||
+ | [in, defaultvalue(0)] LONG nCreateFlags, | ||
+ | [out, defaultvalue(NULL)] IPXV_MainFrame** pMainFrm);</pre> | ||
== Parameters == | == Parameters == | ||
− | ; | + | ;hWndParent |
− | :[in] HANDLE_T Handle to the | + | :[in] HANDLE_T Handle to the parent window for the frame. |
− | ; | + | ;stPos |
− | :[in | + | :[in] Pointer to RECT structure that contains the location and dimensions of the new frame. |
− | ; | + | ;nCreateFlags |
− | :[in, defaultvalue(0)] A | + | :[in, defaultvalue(0)] A set of [[PXV:PXV_CreateMainFrmFlags|PXV_CreateMainFrmFlags]] that controlling the new main frame creation. |
− | ; | + | ;pMainFrm |
− | :[out, defaultvalue(NULL)] | + | :[out, defaultvalue(NULL)] Returns pointer to [[PXV:IPXV_MainFrame|IPXV_MainFrame]] object that represens the newly created frame. |
== Return Value == | == Return Value == | ||
Line 24: | Line 27: | ||
== See Also == | == See Also == | ||
− | + | [[PXV:IPXV_Inst|IPXV_Inst]] |
Latest revision as of 02: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.