Exec.WindowInfo
Description
- Displays/Hides a small PP window with information about the window under the mouse.
- Information includes the mouse screen position, plus the size, position, caption, class, and exe name of the window under the mouse.
Syntax
Information Displayed
- 1. mouse screen coordinates
- Absolute
- point (0,0) is top-left of screen
- Relative
- point (0,0) is top-left of window under mouse
- 2. window coordinates of window under mouse
- (left,top) - (right,bottom)
- 3. window size info
- main window size
- width x height of total window
- client window size
- width x height of window area excluding the border, caption, menu bar, tool bars, and status bar
- aspect ratio
- width of client window/height of client window
- 4. window caption
- 5. main window info
- handle in hex
- class
- exe name
- 6. child window info
Examples
Notes
- The Exec.Window commands acts as a toggle for the info window; to hide it, execute the command again.
- If the mouse cursor is over an Edit box, the contents of that box are shown as the caption. This can be useful to see password fields.