Click here to Skip to main content
15,879,326 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Guys...
I'm using CListCtrl in so many applications. But when i'm using checkbox option,
it shows only in first column of CListCtrl. But i want to use it in any desired column. So plz find out my solution.
Thanking You..
Posted

See, for instance, this Code Project article: "XListCtrl - A custom-draw list control with subitem formatting"[^].
 
Share this answer
 
Comments
Maciej Los 14-Oct-14 15:29pm    
5ed!
CPallini 14-Oct-14 15:38pm    
Thank you!
The list control only offers check box in left most column. It was designed for use primarily in Windows Explorer for listing files and folders.

You can subclass the list control and place your own check box control over a specific cell. This is a lot of work.

Another option is to replace the list control with a custom grid control. There a quite a few choices available. Many can be found as CP articles.
 
Share this answer
 

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