Click here to Skip to main content
15,896,727 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
Hi,

I want to get CListCtrl's view mode (ICON, REPORT .etc) at runtime. How to get it?

I looked at CListCtrl's document, and I could only find GetExtendedStyle(). There is a function name GetStyle() in CWnd. Does it return list control's view mode?

Quy
Posted

1 solution

Take a look at this article[^] from Matt Weagle[^]...

It will help you a lot to begin working with CListCtrl.

HTH! :thumbsup:
 
Share this answer
 
Comments
quyps 13-May-11 4:08am    
thank, Joan!
Joan M 17-May-11 1:57am    
You are welcome! :thumbsup:

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900