Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using VC++ 6.0. After adding Listbox I seen multicolumn property of list box .
But I am not able to use it. I have three field data, empno,empname,empcity.
How to add multi column data for this. I know how to use list ctrl,but still it will
be great if some one shows me how to get multicolumn listbox
Posted

1 solution

Multi column listbox is not what you want:
Item1 Item4 Item7
item2 Item5
Item3 Item6


Try using a CListCtrl[^] or perhaps the MFC Grid control 2.27[^]

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Sandeep Mewara 26-Jun-12 14:04pm    
My 5.:)
Espen Harlinn 26-Jun-12 14:52pm    
Thank you, Sandeep :-D
Sergey Alexandrovich Kryukov 26-Jun-12 16:12pm    
Exactly, my 5.
--SA
Espen Harlinn 26-Jun-12 16:23pm    
Thank you, Sergey :-D
Abhinav S 27-Jun-12 23:27pm    
5!

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