Peeps,

I have a toolbar with a set of 5 'check' style buttons.

What I'd like to do on a right mouse click is detect if I'm over a button, set that button to 'pressed' and all the others the 'unpressed'.

Note, I don't want to use a button group, all the buttons need to be checkable in any combination, I just want a shortcut way of selecting one without having to manually 'unpress' all the others.

I'm guessing I could do this using the mouse down event a x and y to find out if I'm over a button....

Anyone know an easier way?



Dan