How to peek a message in message queue?
What's the Win32 PeekMessage equivalent in .NET ?
Thanks!
There isn't. You'll need to p/invoke the PeekMessage call. Note that you can pre-filter the current message by adding a message filter using the application object (check out Application.AddMessageFilter)
-mark
Program Manager
Microsoft
This post is provided "as-is"