Trap WM_LBUTTONDOWN / UP messages on Button

A

Alain Dekker

What is the best way to peek at the message queue and tell when a specific
control has seen one of the above messages?

Thanks,
Alain
 
J

Jeff Johnson

What is the best way to peek at the message queue and tell when a specific
control has seen one of the above messages?

Subclass (i.e., derive from) the control and override the WndProc() method.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top