IVsWindowPane.CreatePaneWindow 方法

创建窗口窗格。

命名空间:  Microsoft.VisualStudio.Shell.Interop
程序集:  Microsoft.VisualStudio.Shell.Interop(在 Microsoft.VisualStudio.Shell.Interop.dll 中)

语法

声明
Function CreatePaneWindow ( _
    hwndParent As IntPtr, _
    x As Integer, _
    y As Integer, _
    cx As Integer, _
    cy As Integer, _
    <OutAttribute> ByRef hwnd As IntPtr _
) As Integer
int CreatePaneWindow(
    IntPtr hwndParent,
    int x,
    int y,
    int cx,
    int cy,
    out IntPtr hwnd
)

参数

  • hwnd
    类型:System.IntPtr%
    [out] 对处理的指针新的窗口窗格。

返回值

类型:System.Int32
如果方法成功,则返回 S_OK。如果失败,它会返回一个错误代码。

备注

COM 签名

从 vsshell.idl:

HRESULT IVsWindowPane::CreatePaneWindow(
   [in] HWND hwndParent,
   [in] int x,
   [in] int y,
   [in] int cx,
   [in] int cy,
   [out] HWND *hwnd);

父窗口时告诉您创建窗口,并谁。

.NET Framework 安全性

请参见

参考

IVsWindowPane 接口

Microsoft.VisualStudio.Shell.Interop 命名空间