How can my application read windows messages (WM_SETTEXT) from another application?

杀马特。学长 韩版系。学妹 提交于 2019-12-25 04:38:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!