04-27-2010, 04:20 AM
Hi Gintaras,
I just saw there was a new beta version of QM 2.3.2
That's great, can't wait to check it out.
My question regards whether it's possible to get a double clicked item out of a multiselect Listbox using
case LBN_DBLCLK in a dialog.
LB_GetItemText doesn't seem to work right if there are items previously selected in the ListBox.
Basically, I want to get the doubleclicked item but retain the previously selected items as selected. The doubleclicked item can become selected if not already selected. If already selected, it shouldn't unselect.
I have been trying to do this with unselecting and reselected the initial selected items, and in between, single selecting with a lef statement (which is kind of dangerous if the user moves quickly) and getting that single selected item. But this seems to be buggy.
Any more direct method?
Thanks so much...I can give code example if this is too confusing.
Stuart
I just saw there was a new beta version of QM 2.3.2
That's great, can't wait to check it out.
My question regards whether it's possible to get a double clicked item out of a multiselect Listbox using
case LBN_DBLCLK in a dialog.
LB_GetItemText doesn't seem to work right if there are items previously selected in the ListBox.
Basically, I want to get the doubleclicked item but retain the previously selected items as selected. The doubleclicked item can become selected if not already selected. If already selected, it shouldn't unselect.
I have been trying to do this with unselecting and reselected the initial selected items, and in between, single selecting with a lef statement (which is kind of dangerous if the user moves quickly) and getting that single selected item. But this seems to be buggy.
Any more direct method?
Thanks so much...I can give code example if this is too confusing.
Stuart