15,905,915 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.