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
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: October 29, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT Are you interested in building a cognitive application using the power of IBM Watson? Need a platform that provides speed and ease for rapidly deploying this application? Join Chris Madison, Watson Solution Architect, as he walks through the process of building a Watson powered application on IBM Bluemix. Chris will talk about the new Watson Services just released on IBM bluemix, but more importantly he will do a step by step cognitive …

  • QA teams don't have time to test everything yet they can't afford to ship buggy code. Learn how Coverity can help organizations shrink their testing cycles and reduce regression risk by focusing their manual and automated testing based on the impact of change.

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds