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" |