R.Wieser
2022-07-15 17:19:46 UTC
Hello all,
I've got a Listview in report mode in which I would like to show/hide
certain rows on the press of a buttom. It looks like I can create two
groups, one visible and one hidden, and than just change the group ID of a
row to assign it to the visible or hidden group (correct me if I'm wrong in
that regard please).
The problem is that I can't get it to work, and I'm not sure if my version
of ComCtl32 is high enough to support groups.
MSDN states that I need at least v6. Looking at the DLLs properties ->
version I see both a "File version" of 5.82 and a "Product version" of
6.00.xxx. I'm not at all sure which of the two I should be looking at. :-(
Remark: I've tried to enable groups using LVM_ENABLEGROUPVIEW, but no matter
if I enable or disable it (wParam being either 1 or 0) I'm getting a Zero
result back. Which is good if the function exists (though than why zero in
both cases?), but could as well be an indication of "sorry, nothing here to
handle that message" (IOW, badly choosen result values).
tl;dr:
Should I look at the "file" or "product" version, and/or how do I check if
my version of ComCtl32.dll supports groups ?
Regards,
Rudy Wieser
I've got a Listview in report mode in which I would like to show/hide
certain rows on the press of a buttom. It looks like I can create two
groups, one visible and one hidden, and than just change the group ID of a
row to assign it to the visible or hidden group (correct me if I'm wrong in
that regard please).
The problem is that I can't get it to work, and I'm not sure if my version
of ComCtl32 is high enough to support groups.
MSDN states that I need at least v6. Looking at the DLLs properties ->
version I see both a "File version" of 5.82 and a "Product version" of
6.00.xxx. I'm not at all sure which of the two I should be looking at. :-(
Remark: I've tried to enable groups using LVM_ENABLEGROUPVIEW, but no matter
if I enable or disable it (wParam being either 1 or 0) I'm getting a Zero
result back. Which is good if the function exists (though than why zero in
both cases?), but could as well be an indication of "sorry, nothing here to
handle that message" (IOW, badly choosen result values).
tl;dr:
Should I look at the "file" or "product" version, and/or how do I check if
my version of ComCtl32.dll supports groups ?
Regards,
Rudy Wieser