japino Posted February 3, 2008 Share Posted February 3, 2008 Is there a way to let the user select more than one item in a listbox? I've been searching the functions list and the forums, but I cannot find the answer. I currently have the following code, but it allows only one selection in the listbox: $listbox = GUICtrlCreateList("", 10, 40, -1, 290) GUICtrlSetData(-1, $forListbox) $forListbox is a variable that has been populated earlier and that contains the items that should appear in the listbox. Link to comment Share on other sites More sharing options...
Thatsgreat2345 Posted February 3, 2008 Share Posted February 3, 2008 (edited) Use _GUICtrlListBox_Create and check out parameter $LBS_EXTENDEDSEL Edited February 3, 2008 by Thatsgreat2345 Link to comment Share on other sites More sharing options...
japino Posted February 3, 2008 Author Share Posted February 3, 2008 Thanks for the fast reply. Next time I'll remember to check out the include files before I post another question... Link to comment Share on other sites More sharing options...
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