JJ,
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.
Great. So, what function do I call to see if my DLL has got the "group
view" feature available (as in my subject line) ? :-)
In this case, make sure the module is COMCTL32 v6 enabled by including
the manifest,
AFAI now CS that would be enough, as it looks like that the OS will abort loading the program if the specified DLL is not available.
then try to switch the display mode to grouped and check the result.
The result can either be zero when :
1) the LVM_ENABLEGROUPVIEW message is not handled.
-or-
2) "The ability to display list-view items as a group is already enabled or disabled."
Yes, I know I can send that LVM_ENABLEGROUPVIEW a few times with a different argument and compare the results (I mentioned that method in my initial message). Its just that to me that has got a "hack" smell. :-(
Currently I've arrived at the below findings :
My by default loaded comctl32 DLL is v5.82. I've found that XPsp3 actually does have a v6 available, which loading can be forced by using a manifest.
Due to the loading of a specific version DLL (with known features) manual checking isn't needed anymore.
Regards,
Rudy Wieser
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)