Jump to content
Sign in to follow this  
Bert

_GUICtrlListBox_Create - getting the selected data to something else

Recommended Posts

Bert

I'm having trouble understanding the examples for _GUICtrlListBox_Create. How do I capture the item I selected so if I wanted to put the selected item in say, a msgbox, how do I do it? I've been staring at the helpfile for a hour, and I can't figure this out. GUICtrlRead doesn't work. Please help a completely confused man in need...

Share this post


Link to post
Share on other sites
big_daddy

Try _GUICtrlListBox_GetCurSel($hWnd) along with _GUICtrlListBox_GetText($hWnd, $iIndex)

Share this post


Link to post
Share on other sites
GaryFrost

Ok, that works. Thanks

Put the airplane glue down and step away. muttley


SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Share this post


Link to post
Share on other sites
Valuater

Put the airplane glue down and step away. muttley

:)

8)


NEWHeader1.png

Share this post


Link to post
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
Sign in to follow this  

×