Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I determine which process sent my window a message?

Tags:

winapi

message

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?

like image 587
heycam Avatar asked Feb 22 '23 13:02

heycam


1 Answers

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

like image 153
Greg Hewgill Avatar answered Feb 24 '23 23:02

Greg Hewgill