R.Wieser
2022-10-01 10:45:03 UTC
Hello all,
I've created a listview with a few columns which allows multiple rows to be
selected.
The thing is that I would like to be able to select a few rows and than
click subitems without loosing that selection.
I've been looking if I could ignore the LVN_SELECTIONCHANGED notification,
but that one doesn't even return a value. And as the NM_CLICK notification
comes in after all the changes its not usable either.
tl;dr:
Does anyone know how to keep a set of rows selected when clicking a subitem
?
Or maybe the other way around : can I limit the selection of rows to only
when clicking the main item row ?
Regards,
Rudy Wieser
I've created a listview with a few columns which allows multiple rows to be
selected.
The thing is that I would like to be able to select a few rows and than
click subitems without loosing that selection.
I've been looking if I could ignore the LVN_SELECTIONCHANGED notification,
but that one doesn't even return a value. And as the NM_CLICK notification
comes in after all the changes its not usable either.
tl;dr:
Does anyone know how to keep a set of rows selected when clicking a subitem
?
Or maybe the other way around : can I limit the selection of rows to only
when clicking the main item row ?
Regards,
Rudy Wieser