The Wayback Machine - https://web.archive.org/web/20170629144859/http://www.codeguru.com/cpp/controls/treeview/misc-advanced/article.php/c701/Implementing-Checkbox-Controls-with-a-TreeView.htm

Implementing Checkbox Controls with a TreeView

This little sample program demonstrates how to make a treecontrol with checkboxes belonging to each item. Note that this sample was generated using MSVC++ 5. Should work with MSVC++ 6 as well.

Note further that I used the style-constant TVS_CHECKBOXES, which is declarated in VC++5, but not commented.

Downloads

Download demo project - 23 Kb


Comments

  • Tree Control

    Posted by Legacy on 01/08/2003 12:00am

    Originally posted by: Pratibha Chilamkurti

    Can anyone let me know how to disable the items (tree nodes) in a tree control (with check boxes). Its very urgent requirement for me..
    
    

    regards
    Pratibha

    Reply
  • ExTree

    Posted by Legacy on 10/18/2001 12:00am

    Originally posted by: Mike Philis

    Are you looking for a cool tree control?
    
    

    Check this out: http://www.exontrol.com/sg.jsp?content=products/extree

    Features include:
    ActiveX hosting, events from contained components are fired through to your program using the exact same model used in VB6 for components added at run time, data bounding, multiple columns, and more

    Mike
    www.exontrol.com

    Reply
  • treecontrol

    Posted by Legacy on 04/25/2000 12:00am

    Originally posted by: Mikl Shlensky

    This program works well. But I don't know, how set third empty state of checkbox.

    Reply

Top White Papers and Webcasts

  • Mobile application management (MAM) refers to the workflow for security, governance, and distribution of mobile apps in the enterprise. Best-of-breed MAM provides app-level security for any app, deploys apps to every user in the extended enterprise because it is device management agnostic, manages the complete app lifecycle, and enables multiple app distribution methods, including an intuitive, custom-brandable enterprise app store. But, not all mobile application management (MAM) is created equal. Use this …

  • Organizations today are under tremendous pressure to deliver a higher quality of products and services at lower costs, and to do so using existing resources. Any expenditure companies do make to help them achieve this goal is expected to deliver a measurable, hard-dollar ROI — and to deliver it quickly. The Internet of Things (IoT) is creating new opportunities for companies to enhance their products, gain business insights and differentiate their offerings. This whitepaper defines an ROI model for …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date