Is there a way to drag-select multiple items in listbox?

Get help with using AutoHotkey and its commands and hotkeys
Chiefkes
Posts: 22
Joined: 04 May 2020, 20:01

Is there a way to drag-select multiple items in listbox?

10 Jul 2020, 11:10

Hi,

As per the title, I'm wondering if an extended option exists that enables drag-selecting for a listbox?

I'm using the "multi" / "8" option to allow for multiple selections but would be nice to be able to hold-click and drag over a number of adjacent items in a list box to select them all.

Cheers :beer:
Chiefkes
Posts: 22
Joined: 04 May 2020, 20:01

Re: Is there a way to drag-select multiple items in listbox?

10 Jul 2020, 11:25

I have just found LBS_EXTENDEDSEL (0x800) which seems to allow drag selecting multiple items. But i'd also like LBS_MULTIPLESEL (0x8) functionality of being able to add items to the selection without holding down ctrl or shift. Is there a way of having the best of both worlds?

I guess send {ctrl} for each LButton, but hoping there's a more elegant way

Return to “Ask For Help”

Who is online

Users browsing this forum: BIGZIPZ, Bing [Bot], boiler, doubledave22, Google [Bot], HelpmePLEASE, JaydeNpie, jvlz, Smile_ and 46 guests