Can I determine which process sent a message to my window?

I have a window and I am viewing messages that are sent to it using Spy ++. Is it possible to determine which process sent my window to this message if it really was sent from another process?

+4
source share
1 answer

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

+8
source

Source: https://habr.com/ru/post/1395321/


All Articles