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.
As MSDN says it needs v6, you must force v6, for example in the code, at beginning :
#pragma comment(linker,"\"/manifestdependency:type='win32' \ name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \ processorArchitecture='*' publicKeyToken='6595b64144ccf1df'
language='*'\"")
Christian,
As MSDN says it needs v6, you must force v6, for example in the code, at
beginning :
#pragma comment(linker,"\"/manifestdependency:type='win32' \
name='Microsoft.Windows.Common-Controls' version='6.0.0.0' \
processorArchitecture='*' publicKeyToken='6595b64144ccf1df'
language='*'\"")
That won't help if I do not have a version '6.0.0.0' available - which is what I'm currently try to figure out.
Also, that specific addition won't work for my programming language of
choice (it doesn't have a "c" in it). I would need to write an
'Application manifest' by hand. And I'm not even /thinking/ of putting effort into doing that before knowing that the DLL I want to have loaded actually exists on my 'puter.
Regards,
Rudy Wieser
In the web development field, there's a good advice that recommends developers not to check the web browser version number. But instead, to
check the needed features themselves.
In this case, make sure the module is COMCTL32 v6 enabled by including
the manifest,
then try to switch the display mode to grouped and check the result.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 42:23:12 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,851 |