IVsWindowPane::CreatePaneWindow Method (IntPtr, Int32, Int32, Int32, Int32, IntPtr)
Visual Studio 2015
Creates a window pane.
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
int CreatePaneWindow( IntPtr hwndParent, int x, int y, int cx, int cy, [OutAttribute] IntPtr% hwnd )
Parameters
- hwndParent
-
Type:
System::IntPtr
[in] Handle to the parent window.
- x
-
Type:
System::Int32
[in] Absolute x ordinate.
- y
-
Type:
System::Int32
[in] Absolute y ordinate.
- cx
-
Type:
System::Int32
[in] x ordinate relative to x.
- cy
-
Type:
System::Int32
[in] y ordinate relative to y.
- hwnd
-
Type:
System::IntPtr
[out] Pointer to a handle to the new window pane.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell.idl:
HRESULT IVsWindowPane::CreatePaneWindow( [in] HWND hwndParent, [in] int x, [in] int y, [in] int cx, [in] int cy, [out] HWND *hwnd);
Tells you when to create your window and who to parent your window to.
Show: