Click here to Skip to main content
15,894,343 members

Comments by Member 4650365 (Top 3 by date)

Member 4650365 5-Jul-12 10:17am View    
Thanks for the link, having checked the sample against my own code I have the answer:-

When setting the three sub-items in the "for(int n = 0; n < iNumLibs; n++)" loop I should have used:-

SendMessage(hList, LVM_SETITEMTEXT, n, (LPARAM)&lvi);

Not:-

ListView_SetItem(hList, &lvi);
Member 4650365 3-Jul-12 16:45pm View    
Thanks for that enhzflep, I have the sample working, I just need to see where mine is different then all I need to do now is how to get is to keep working when I switch to tile view with "ListView_SetView(listView, LV_VIEW_TILE)" unless the tile view in Windows Explorer is extra code, not part of comctl32.dll.
Member 4650365 3-Jul-12 12:51pm View    
Oops missed that one, added it in - no change.

I have been using WIN32_WINNT == 0x0501 with manifest set for COMMCTRL V6.

I noticed the bit about empty groups as well, but you have to insert the groups before the items or nothing is displayed. Inserting the groups after the columns makes no difference either.