Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IVsWindowPane.CreatePaneWindow Method

Creates a window pane.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int CreatePaneWindow(
	IntPtr hwndParent,
	int x,
	int y,
	int cx,
	int cy,
	out IntPtr hwnd
)

Parameters

hwndParent
Type: IntPtr

[in] Handle to the parent window.

x
Type: Int32

[in] Absolute x ordinate.

y
Type: Int32

[in] Absolute y ordinate.

cx
Type: Int32

[in] x ordinate relative to x.

cy
Type: Int32

[in] y ordinate relative to y.

hwnd
Type: IntPtr

[out] Pointer to a handle to the new window pane.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

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:
© 2015 Microsoft