What's the difference between "PreProcessMessage", "DefWndProc" and "WndProc"?

  • Thread starter Thread starter babylon
  • Start date Start date
B

babylon

If a Form has a Button
and I click the Button
do the Form receive the WM_LBUTTONDOWN and WM_LBUTTONUP message first and
then pass it to the Button ???

actually i want to intercept the an user click to a particular Control on a
Form, where should i start working on?

thx
 
babylon said:
If a Form has a Button
and I click the Button
do the Form receive the WM_LBUTTONDOWN and WM_LBUTTONUP message first and
then pass it to the Button ???

No. WM_LBUTTONDOWN and WM_LBUTTONUP goes to the button only

actually i want to intercept the an user click to a particular Control on a
Form, where should i start working on?

Look up IMessageFilter


/claes
 

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

Back
Top