[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1624
  • Last Modified:

adding checkbox to a CListCtrl

Hi,

Does anyone have a simple example of how to add a checkbox column to a CListCtrl? I want to be able to just stick that as the 0th column, check and uncheck the box for a row programatically.

Thanks
0
DJ_AM_Juicebox
Asked:
DJ_AM_Juicebox
  • 2
1 Solution
 
jkrCommented:
See http://www.codeproject.com/listctrl/listcheckbox.asp ("Adding Checkboxes to a list control"). For more complex examples, check out http://www.codeproject.com/listctrl/xlistctrl.asp ("XListCtrl - A custom-draw list control with subitem formatting") and http://www.codeproject.com/listctrl/quicklist.asp ("CQuickList")
0
 
jkrCommented:
Trouble getting that to work?
0
 
DJ_AM_JuiceboxAuthor Commented:
yeah I wish the article just had a sample project, it would have been easier.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now