我可以确定哪个进程向我的窗口发送了消息吗? [英] Can I determine which process sent my window a message?

查看:82
本文介绍了我可以确定哪个进程向我的窗口发送了消息吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个窗口,正在查看使用Spy ++发送给它的消息.如果确实是从另一个进程发送来的,是否可以确定哪个进程向我的窗口发送了给定消息?

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?

推荐答案

否,Win32窗口消息不包含有关它们从何处发送的信息(除非该信息专门包含在消息WPARAM和/或LPARAM组件中) ).

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).

这篇关于我可以确定哪个进程向我的窗口发送了消息吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆