Hi, I have a canvas control with auto scroll bar policy. I can perform
click and drag operations on my canvas, but I've noticed a problem when
scrolling - it thinks I am trying to drag! (this is due to the mouseDown
event on my canvas - the scroll bar events end up in here too).

 

How can I check that a click event didn't come from a scroll bar?

 

Thanks,

 

Mark

 

 

 

Reply via email to