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
 
Back
Top