Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to remove a message from the message queue?

Status
Not open for further replies.

LuckyLuke

Programmer
Mar 28, 2001
188
NL
Hi,

I have a system wide hook and if a left button click is received from a certain program, I want to intercept this mousedown and up event, so it never reaches the application. I have the hWnd of the desired window and I want to achieve something just like the PM_REMOVE parameter used in PeekMessage, but this time by subclassing the window. How do I achieve this?

If you know another good way how to do this, please tell me as well :)

LuCkY
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top