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: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Hundreds of millions of users have adopted public cloud storage solutions to satisfy their Private Online File Sharing and Collaboration (OFS) needs. With new headlines on cloud privacy issues appearing almost daily, the need to explore private alternatives has never been stronger. Join ESG Senior Analyst Terri McClure and Connected Data in this on-demand webinar to take a look at the business drivers behind OFS adoption, how organizations can benefit from on-premise deployments, and emerging private OFS …

Most Popular Programming Stories

More for Developers

RSS Feeds