rbulph Posted January 21, 2008 Posted January 21, 2008 I'd like to know when the user double-clicks on the gripper part of a toolbar. I can use the toolbar's doubleclick event but this only passes e as System.EventArgs, which doesn't contain the location where the user double-clicked. If he double-clicks on a disabled button then this event triggers as well, so the two actions seem to be indistinguishable. Any ideas how to just capture a double-click just on the gripper part of the toolbar? Quote
RappyFood Posted February 2, 2008 Posted February 2, 2008 If you handle the toolbar's MouseDoubleClick event, it will pass you e as MouseEventArgs. You still need to determine if you have hit the gripper, but at least you have the mouse position. RappyFood Quote
rbulph Posted February 13, 2008 Author Posted February 13, 2008 Thanks, that solves it. Don't know why they have to have a MouseDoubleClick event as well as a DoubleClickEvent. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.