共用方式為


WindowPane.IVsWindowPane.CreatePaneWindow Method

Definition

Caution

The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane

Creates a window pane. Obsolete.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.CreatePaneWindow(IntPtr hwndParent, int x, int y, int cx, int cy, [Runtime::InteropServices::Out] IntPtr % hwnd) = Microsoft::VisualStudio::Shell::Interop::IVsWindowPane::CreatePaneWindow;
[System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")]
int IVsWindowPane.CreatePaneWindow (IntPtr hwndParent, int x, int y, int cx, int cy, out IntPtr hwnd);
[<System.Obsolete("The IVsWindowPane interface on the WindowPane is obsolete, use IVsUIElementPane")>]
abstract member Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.CreatePaneWindow : nativeint * int * int * int * int * nativeint -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsWindowPane.CreatePaneWindow : nativeint * int * int * int * int * nativeint -> int
Function CreatePaneWindow (hwndParent As IntPtr, x As Integer, y As Integer, cx As Integer, cy As Integer, ByRef hwnd As IntPtr) As Integer Implements IVsWindowPane.CreatePaneWindow

Parameters

hwndParent
IntPtr

nativeint

A pointer to the parent window.

x
Int32

The absolute x ordinate.

y
Int32

The absolute y ordinate.

cx
Int32

The width of the window.

cy
Int32

The height of the window.

hwnd
IntPtr

nativeint

[out] A pointer to the new window pane.

Returns

S_OK.

Implements

Attributes

Remarks

The <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.CreatePaneWindow interface on this class is obsolete. Please use <xref:Microsoft.VisualStudio.Shell.Interop.>IVsWindowPane.CreatePaneWindow instead.

Applies to