Share via


Opening the Messages View

Home Page (Spy++) | Overview | How Do I ... Topics

To open the Messages view for a window, process, or thread

  1. Move the focus to either a Windows, Processes, or Threads view window.

  2. Find the name of the window, process, or thread that you want to examine, and select it.

  3. From the Spy menu, choose Messages.

  4. Select the message options you want.

  5. Click OK to begin logging messages.

  6. From the Messages menu, choose Stop Logging.

The Messages view appears as shown below. Note that the first column contains the window handle, and the second column contains a message code (explained in Message Codes). Decoded message parameters and return values are on the right.

The Messages View Window

For a more direct way to select a window for message stream viewing, use the following procedure.

To open the Messages view for a visible window using the Message Options dialog box

  1. Arrange your windows so that both Spy++ and the subject window are visible.

  2. From the Spy menu, choose Messages.

  3. From the Windows tab, drag the Finder Tool to the window you want.

    As you drag the tool, Window details appear in the dialog box.

  4. Click OK to begin logging messages.

  5. From the Messages menu, choose Stop Logging.

Tip   To reduce screen clutter, select the Hide Spy option in the Find Window dialog box. This removes the main Spy++ window and leaves the Find Window dialog box visible on top of your other applications. The Spy++ main window will be restored when you choose the OK or Cancel button, or by clearing the Hide Spy option.

See Also   Using the Windows View, Using the Processes View, Using the Threads View