@WINPARENT — Searches for a window, and returns its parent window’s handle.

Syntax:
%@WINPARENT[window,flags]

windowwindow title, program name, PID, or HWND
flagsbitmapped:
    1: return window handle in hexadecimal

If no matching window is found, the return value will be 0.

See also: @WINOWNER.