The Wayback Machine - https://web.archive.org/web/20120628100347/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

IT Offers

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

Whitepapers and More

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds