GetParent function retrieves a handle to the specified window's parent or owner.
This is a simple wrapper around Win32 function.
$par_hwnd = GetParent( $hwnd );
-
$hwnd
Handle of a window whose parent
window is to be retrieved
Handle to a parent window