How to peek a message in message queue?

What's the Win32 PeekMessage equivalent in .NET

Thanks!



Answer this question

How to peek a message in message queue?

  • R. B. Oberholz

    Thanks!


  • VaishaliAmonkar

    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"

  • How to peek a message in message queue?