08-24-2004, 11:27 AM
First argument of win is window name, not handle (win itself returns window handle). Other syntax - win(x y).
If you have window handle and want to check whether it is popup, get window style and check for WS_POPUP flag.
If you have window handle and want to check whether it is popup, get window style and check for WS_POPUP flag.