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 (
	[InAttribute] IntPtr hwndParent,
	[InAttribute] int x,
	[InAttribute] int y,
	[InAttribute] int cx,
	[InAttribute] int cy,
	out IntPtr hwnd
)
int CreatePaneWindow (
	/** @attribute InAttribute() */ IntPtr hwndParent, 
	/** @attribute InAttribute() */ int x, 
	/** @attribute InAttribute() */ int y, 
	/** @attribute InAttribute() */ int cx, 
	/** @attribute InAttribute() */ int cy, 
	/** @attribute OutAttribute() */ /** @ref */ IntPtr hwnd
)
JScript does not support passing value-type arguments by reference.

Parameters

hwndParent

[in] Handle to the parent window.

x

[in] Absolute x ordinate.

y

[in] Absolute y ordinate.

cx

[in] x ordinate relative to x.

cy

[in] y ordinate relative to y.

hwnd

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

Return Value

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.

Community Additions

ADD
Show:
© 2015 Microsoft