Windows Develop Bookmark and Share   
 index > Windows Forms General > How to peek a message in message queue?
 

How to peek a message in message queue?

What's the Win32 PeekMessage equivalent in .NET ?

Thanks!
Lei Jiang  Sunday, July 24, 2005 1:28 PM
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"
Mark Rideout  Monday, July 25, 2005 5:30 PM
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"
Mark Rideout  Monday, July 25, 2005 5:30 PM
Thanks!
Lei Jiang  Monday, July 25, 2005 11:58 PM

You can use google to search for other answers

Custom Search

More Threads

• Using a crystal report from a dynamically loaded assembly
• Copy PNG data to clipboard
• .Net reporting using VS2008
• How to access a resource file from several DLL files at the same time
• New to .NET and UIP Application Block
• NotifyIcon BalloonTips and the Mouse_Move Event
• Don't work
• webBrowser object and HtmlElement woes!
• how can i draw a rectangle by mouse pointer.
• Date.Subtract