Aracılığıyla paylaş


IVsWindowPane.CreatePaneWindow Yöntem (IntPtr, Int32, Int32, Int32, Int32, IntPtr)

 

Bir bölme oluşturur.

Ad Alanı:   Microsoft.VisualStudio.Shell.Interop
Derleme:  Microsoft.VisualStudio.Shell.Interop (Microsoft.VisualStudio.Shell.Interop.dll içinde)

Sözdizimi

int CreatePaneWindow(
    IntPtr hwndParent,
    int x,
    int y,
    int cx,
    int cy,
    out IntPtr hwnd
)
int CreatePaneWindow(
    IntPtr hwndParent,
    int x,
    int y,
    int cx,
    int cy,
    [OutAttribute] IntPtr% hwnd
)
abstract CreatePaneWindow : 
        hwndParent:nativeint *
        x:int *
        y:int *
        cx:int *
        cy:int *
        hwnd:nativeint byref -> int
Function CreatePaneWindow (
    hwndParent As IntPtr,
    x As Integer,
    y As Integer,
    cx As Integer,
    cy As Integer,
    <OutAttribute> ByRef hwnd As IntPtr
) As Integer

Parametreler

  • hwndParent
    [in] Ana pencere tanıtıcısı.
  • x
    [in] Mutlak x ordinate.
  • y
    [in] Mutlak y ordinate.
  • cx
    [in] x göreli olarak ordinate x.
  • cy
    [in] y göreli olarak ordinate y.
  • hwnd
    [Çıkış] İşaretçiyi yeni pencereye işlenecek.

Dönüş Değeri

Type: System.Int32

Yöntem başarılı olursa, verir S_OK.Başarısız olursa, bir hata kodu döndürür.

Notlar

com imzası

Vsshell.idl:

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

Pencerenizin ne zaman ve kimin pencerenize üst size söyler.

Ayrıca bkz.

IVsWindowPane Arabirim
Microsoft.VisualStudio.Shell.Interop Ad Alanı

Başa dön