readme.txt
来自「<Win2k系统编程>源码.次数为国人自编,内容丰富,还是不错的.」· 文本 代码 · 共 39 行
TXT
39 行
Monitoring Messages with SPY
SUMMARY
=======
The SPY tool demonstrates how to monitor system messages sent to a specified
window. SPY records the messages and displays them on the specified device.
SPY is also useful in debugging, to verify that the messages you think a
window is receiving are actually being received.
SPY demonstrates the following techniques:
- Using a system message hook.
- Using the WM_COPYDATA message to pass data to another application.
- Reading and writing the registry.
- Creating a thread.
- Creating a DLL for the hook.
MORE INFORMATION
================
To use SPY to monitor messages, do the following:
1. Choose the Options menu to select the following:
- Messages: Selects the messages you wish to monitor.
- Font: Selects the font you wish to have displayed.
- Output: Selects the output device to which you want messages to go.
2. Select the window whose messages you want to watch by choosing the
Select Window command from the Spy menu. This brings up a dialog box
listing the current windows to watch. The default is all windows.
3. The Edit menu allows you to use the clipboard from the SPY window.
4. Choose Start! to start monitoring. Once this option is chosen, the menu
item changes to Stop!. Choose Stop! to cease monitoring messages.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?