Sdílet prostřednictvím


IVsSplitPane.GetParentWindow(IntPtr) Method

Definition

Returns the parent window of the 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] Parent window.

Returns

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

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsSplitPane::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