Jump to content

Select Multiple Items in Guictrlcreatelist?


 Share

Recommended Posts

Is it possible to select multiple items on guictrlcreatelist? For example, having the array winlist() be in guictrlcreatelist, and then selecting multiple entries at once? Also, is there a way to reorganize the list, its alphabetical by default, but maybe drag and drop to reorder the list however we want? Thanks for your help!

Link to comment
Share on other sites

Is it possible to select multiple items on guictrlcreatelist? For example, having the array winlist() be in guictrlcreatelist, and then selecting multiple entries at once? Also, is there a way to reorganize the list, its alphabetical by default, but maybe drag and drop to reorder the list however we want? Thanks for your help!

Please refer _GUICtrlListBox_SetSel Function Reference in AUtoIt help, it describes how to select multiple items in the list. To reorganize the list you can use your own sort logic and use _GUICtrlListBox_SwapString UDF to do that. You can also refer more _GUICtrlListBox_* functions to deal with the list.

Link to comment
Share on other sites

Thank you vaibhav!

Not the exact thing I was looking for but it did lead me down the right path ;) The part I was looking for was "BitOR($LBS_STANDARD, $LBS_EXTENDEDSEL))" And the sort thing will be a little difficult, but give me a few days tinkering around, she be able to tackle it. Thanks again.

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