User32GetParent Method

Overload List

GetParent(HandleRef) Retrieves a handle to the specified window's parent or owner.

To retrieve a handle to a specified ancestor, use the GetAncestor(IntPtr, GetAncestorFlags) function.

GetParent(IntPtr) Retrieves a handle to the specified window's parent or owner.

To retrieve a handle to a specified ancestor, use the GetAncestor(IntPtr, GetAncestorFlags) function.

GetParent(SafeHandle) Retrieves a handle to the specified window's parent or owner.

To retrieve a handle to a specified ancestor, use the GetAncestor(IntPtr, GetAncestorFlags) function.

See Also