When using the Win32 API message loop (or any higher level abstraction of the same such as System.Windows.Forms.IMessageFilter
) to get a message, how do I find out who/which control/which component/which piece of code posted the WM_MOUSEMOVE
?
Does that even make sense in the context of Win32? Something akin to the object sender
in .NET events.
I checked the documentation for WM_MOUSEMOVE
and I can't find anything. It's been a decade I haven't used Win32 API extensively since.