Use the Spy menu to select the window you want Spy to monitor. The Spy menu contains the following commands:
| Item | Description | 
|---|---|
| Window | Handle of the window. | 
| Class | Window class. | 
| Parent | Handle of the parent window and the name of the program that created the parent window. | 
| Rect | Upper-right and lower-left coordinates of the window and the window size in screen coordinates. | 
| Style | Style bits of the window in which the cursor is located, the principal style of the window, and an identifier if the window is a child window. The principal style can be WS_POPUP, WS_ICONIC, WS_OVERLAPPED, or WS_CHILD. | 
| All Windows | Specifies that Spy is to display messages received by all windows. |