The Windows Message Monitor allows you to receive raw Windows Messaging Events and further control and monitor the Window.
Example
1 | var monitor = new WindowMessageMonitor(window); // or hwnd |
In the event handler you can then inspect these raw messages based on message id for type of message, and use the WParam and LParam according to the Windows Messaging documentation. Example:
1 | private void OnWindowMessageReceived(object sender, WindowMessageEventArgs e) |