Compartir a través de


WindowPane.IVsWindowPane.CreatePaneWindow Method

Creates a window pane.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

'Declaración
Private Function CreatePaneWindow ( _
    hwndParent As IntPtr, _
    x As Integer, _
    y As Integer, _
    cx As Integer, _
    cy As Integer, _
    <OutAttribute> ByRef pane As IntPtr _
) As Integer Implements IVsWindowPane.CreatePaneWindow
'Uso
Dim instance As WindowPane
Dim hwndParent As IntPtr
Dim x As Integer
Dim y As Integer
Dim cx As Integer
Dim cy As Integer
Dim pane As IntPtr
Dim returnValue As Integer

returnValue = CType(instance, IVsWindowPane).CreatePaneWindow(hwndParent, _
    x, y, cx, cy, pane)
int IVsWindowPane.CreatePaneWindow(
    IntPtr hwndParent,
    int x,
    int y,
    int cx,
    int cy,
    out IntPtr pane
)
private:
virtual int CreatePaneWindow(
    IntPtr hwndParent, 
    int x, 
    int y, 
    int cx, 
    int cy, 
    [OutAttribute] IntPtr% pane
) sealed = IVsWindowPane::CreatePaneWindow
private abstract CreatePaneWindow : 
        hwndParent:IntPtr * 
        x:int * 
        y:int * 
        cx:int * 
        cy:int * 
        pane:IntPtr byref -> int 
private override CreatePaneWindow : 
        hwndParent:IntPtr * 
        x:int * 
        y:int * 
        cx:int * 
        cy:int * 
        pane:IntPtr byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • pane
    Type: System.IntPtr%
    [out] A pointer to the new window pane.

Return Value

Type: System.Int32
S_OK().

Implements

IVsWindowPane.CreatePaneWindow(IntPtr, Int32, Int32, Int32, Int32, IntPtr%)

Remarks

This method has been implemented to set up the best window pane for the shell.

.NET Framework Security

See Also

Reference

WindowPane Class

WindowPane Members

Microsoft.VisualStudio.Shell Namespace