Jump to content

Mouse double-click on label?


Recommended Posts

How check if a mouse double-click ckliced on label created with GUICtrlCreateLabel()?

For example, double-click on label with name "Click Me" open message box.

This is the only solution I can think of right off.

Create a button with the coords, and size boundries that were set up for your label. and set it to hidden. It'll be an overlapped control, but then it'll accept clicks, and you can trap on that button in your message loop. If you set it to hidden, it should work. and you can remove the tabstop style, I think, if it's a dialog you want to be able to ta through. I'm not sure that it'd appear though, if it was a hidden button, in the tabstop list.

HTH,

~~TheCreator~~Visit http://tysdomain.com for personal software and website solutions.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...