How can my application read windows messages (WM_SETTEXT) from another application?
问题 Is there a way to intercept window messages from another app other than a global message hook? Platform: Windows XP. 回答1: You can set a hook procedure by calling SetWindowHookEx function. Specify the identifier of the thread with which the hook procedure is to be associated. MSDN 来源: https://stackoverflow.com/questions/1366710/how-can-my-application-read-windows-messages-wm-settext-from-another-applicati