Rozek Posted September 24, 2007 Posted September 24, 2007 (edited) Hello!As I could not find an answer myself, neither in the online-help nor in this forum, I'll try my luck with this posting:a list control built withGUICtrlCreateList("", ..., BitOR($LBS_SORT,$LBS_MULTIPLESEL,$WS_BORDER))and then filled with multiple items does not behave as "usual" when clicking into it:clicking multiple times (but not too fast) on the same item toggles its selection (that's ok);clicking on an item (with another one already beeing selected) selects the new item even if neither the Ctrl nor the Shift key is pressed simultaneously). Especially, the old item is not deselected;clicking on an item (with another one already beeing selected) while depressing the Shift key only selects the new item even and not also those between the first and the new item.How can I achieve standard selection behaviour of list controls?Thanks in advance for any help!Andreas Rozek Edited September 24, 2007 by Rozek
Siao Posted September 24, 2007 Posted September 24, 2007 (edited) $LBS_MULTIPLESEL does what it's supposed to do (select/deselect multiple items one by one with single mouse clicks, no advanced keyboard features). You probably want $LBS_EXTENDEDSEL (0x800). Edited September 24, 2007 by Siao "be smart, drink your wine"
Rozek Posted September 24, 2007 Author Posted September 24, 2007 Great! Thanks - in fact, I already tried $LBS_EXTENDEDSEL as it is offered by Koda (which I use to design my user interface - it's a marvelous tool!) but as it is not (yet) defined by AutoIt, I did not follow that path any further. Thanks a lot! Andreas Rozek
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