RAMzor Posted April 9, 2008 Posted April 9, 2008 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.
TheCreator Posted April 9, 2008 Posted April 9, 2008 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now