IVsSplitter::GetParentWindow Method (IntPtr)

 

Get the parent window of this pane.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetParentWindow(
	[OutAttribute] IntPtr% phwndParent
)

Parameters

phwndParent
Type: System::IntPtr

[out] The window handle of the parent.

Return Value

Type: System::Int32

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

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.

Return to top
Show: