Jump to content

Au3gui Mouseclicks In Listbox


 Share

Recommended Posts

How can I "do something" when the user double-clicks an item in a list box?

Currently, I'm using Valik's idea of using HotKeySet("{Enter}","foo") so the user can select an item by pressing Enter.

Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

You can't... unless Larry decides to do some message handling...

:whistle: You should update your member title:

Larry and AutoGUI: Is there nothing they can't do? :lmao:

That is quite a kludge; I like it :angry: Thanks for help again, guys :evil:

One problem: The double-click code does not work if

EnvSet("OBJ1.style", 0x00201000) ;LBS_DISABLENOSCROLL + WS_VSCROLL

But I really want that obj style.... Ideas?

EDIT: EnvSet("OBJ1.style", 0x50A31003) B) I remembered Visual Studio's Spy++ program. What reference do you all use to lookup styles/constants? (Visual Studio 6.0's API Viewer isn't helpful enough to me.)

Edited by CyberSlug
Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
Link to comment
Share on other sites

I just look them up in the header files. VS 2003 has a "Go To Declaration" menu selection when you right click a word. I type that into the editor, use that link and it takes me to whatever I'm looking for. Most of the related styles are grouped together, so its easy to find.

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...