다음을 통해 공유


IVsWindowPane.CreatePaneWindow Method

Definition

Creates a window pane.

public:
 int CreatePaneWindow(IntPtr hwndParent, int x, int y, int cx, int cy, [Runtime::InteropServices::Out] IntPtr % hwnd);
public int CreatePaneWindow (IntPtr hwndParent, int x, int y, int cx, int cy, out IntPtr hwnd);
abstract member CreatePaneWindow : nativeint * int * int * int * int * nativeint -> int
Public Function CreatePaneWindow (hwndParent As IntPtr, x As Integer, y As Integer, cx As Integer, cy As Integer, ByRef hwnd As IntPtr) As Integer

Parameters

hwndParent
IntPtr

nativeint

[in] Handle to the parent window.

x
Int32

[in] Absolute x ordinate.

y
Int32

[in] Absolute y ordinate.

cx
Int32

[in] x ordinate relative to x.

cy
Int32

[in] y ordinate relative to y.

hwnd
IntPtr

nativeint

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

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

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.

Applies to