@WINSTYLES — Searches for a window, and returns its style bits.

Syntax:
%@WINSTYLES[window,flags]

windowwindow title, program name, PID, or HWND
flagsbitmapped:
    1: return styles value in hexadecimal

Window styles are documented here. Note that some only apply to child windows (e.g. controls such as buttons). Others specify initial conditions for when the window was created, not the current state of the window.

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

See also: @WINSTYLESEX.