Compartilhar via


IVsSplitter.GetParentWindow(IntPtr) Method

Definition

Get the parent window of this pane.

public:
 int GetParentWindow([Runtime::InteropServices::Out] IntPtr % phwndParent);
public int GetParentWindow (out IntPtr phwndParent);
abstract member GetParentWindow : nativeint -> int
Public Function GetParentWindow (ByRef phwndParent As IntPtr) As Integer

Parameters

phwndParent
IntPtr

nativeint

[out] The window handle of the parent.

Returns

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

Implements

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSplitter::GetParentWindow(  
   [out] HWND *phwndParent  
);  

All panes have the same parent window, which is the parent of all child windows created by leaf-node panes.

Applies to