Can I determine which process sent my window a message?

只谈情不闲聊 提交于 2019-12-23 12:24:50

问题


I have a window, and I am looking at the messages that are being sent to it using Spy++. Is it possible to determine which process sent my window a given message, if it indeed was sent from another process?


回答1:


No, Win32 window messages do not contain information about where they were sent from (unless that information is specifically included as part of the message WPARAM and/or LPARAM components).



来源:https://stackoverflow.com/questions/9185269/can-i-determine-which-process-sent-my-window-a-message

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