IVsSplitter.GetParentWindow(IntPtr) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.