Log in

View Full Version : break on click?


j2innet
November 26th, 2005, 07:32
hi expert out there..
i need u guys to advice how can i set a break point on button click.
i have gone through some c* tutorial and practising on some "problem" by using run trace. but break on click will be more helpful, i suppose.

Ricardo Narvaja
November 26th, 2005, 09:13
use message breakpoint on WM_LBUTONDOWN

Ricardo

clockwork305
December 7th, 2005, 13:05
conditional bp on the translatemessage call?

msg == wm_lbuttondown

you can also set bp for double-click, mousewheel etc just change the wm_xxx