Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
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?
  • 2 weeks later...
Posted

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

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...