The Wayback Machine - https://web.archive.org/web/20080609014442/http://www.codeguru.com:80/cpp/controls/treeview/

CodeGuru
Earthweb Search
Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
PDA Phones & Cases
KVM Switches
Find Software
Compare Prices
Laptops
Hurricane Shutters
Free Business Cards
Low Mortage Rates
Desktop Computers
Online Shopping
Computer Hardware
Compare Prices
SMS Gateway
Calling Cards


RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

Home >> Visual C++ / C++ >> Controls >> Treeview Control

Download these IBM resources today!
e-Kit: IBM Rational Systems Development Solution
With systems teams under so much pressure to develop products faster, reduce production costs, and react to changing business needs quickly, communication and collaboration seem to get lost. Now, theres a way to improve product quality and communication.

Webcast: Asset Reuse Strategies for Success--Innovate Don't Duplicate!
Searching for, identifying, updating, using and deploying software assets can be a difficult challenge.

eKit: Rational Build Forge Express
Access valuable resources to help you increase staff productivity, compress development cycles and deliver better software, fast.

Download: IBM Data Studio v1.1
Effectively design, develop, deploy and manage your data, databases, and database applications throughout the data management life.

eKit: Rational Asset Manager
Learn how to do more with your reusable assets, learn how Rational Asset Manager tracks and audits your assets in order to utilize them for reuse.
Project Management Guide: Developing a Web Site. Best Practices, Tips and Strategies. Download Exclusive eBook Now.

Treeview Control

Classes



[Updated] Tree List Control
Rating:
xyz007 - 08/17/2007
Discover an implementation of a tree view, combined with a list view, for the Windows API. The view is compatible with the tree control of the common control.

A Print Enabled Tree Control
Rating:
Mike Wild - 08/06/1998
A Print Enabled Tree Control

Class for drag-drop enabled TreeView
Rating:
Ran Almog - 08/06/1998
Class for drag-drop enabled TreeView


Directory Browsers



CDirTreeCtrl for displaying or selecting Folders and Files
Rating:
Michael Hofer - 04/29/2000
Very popular file/folder treeview that can be used on either a dialog or a view

Path Picker with Network Capabilities
Rating: none
John McTainsh - 05/30/1999
Path Picker with Network Capabilities

Thread safe Directory browser
Rating: none
Achalla Srinivasu - 03/28/1999
Thread safe Directory browser


Drag & Drop



Drag and Drop between Tree controls
Rating:
Vinayak Tadas - 01/05/2000
Drag and Drop between Tree controls

Creating Drag Image for a CTreeCtrl without images
Rating:
Pel K Txnder - 08/04/1999
Creating Drag Image for a CTreeCtrl without images

Keeping the indentation level with Drag '& Drop
Rating: none
Roelf Nel - 05/15/1999
Keeping the indentation level with Drag '& Drop

Drag and Drop Enhancement - Auto expand while hovering
Rating: none
Pete Peterson - 12/04/1998
Drag and Drop Enhancement - Auto expand while hovering

Expand branches during drag-drop
Rating: none
Justin Rudd - 08/06/1998
Expand branches during drag-drop

Right Button Drag and Drop with Popup Menu
Rating:
Zafir Anjum - 08/06/1998
Right Button Drag and Drop with Popup Menu

Copy a branch
Rating: none
Zafir Anjum - 08/06/1998
Copy a branch

Preventing inadvertant drag and drop
Rating: none
Zafir Anjum - 08/06/1998
Preventing inadvertant drag and drop

Copy an item to new location
Rating:
Zafir Anjum - 08/06/1998
Copy an item to new location

Enhanced Drag '& Drop
Rating:
Miguel Grinberg - 08/06/1998
Enhanced Drag '& Drop

Scrolling during drag and drop
Rating: none
Zafir Anjum - 08/06/1998
Scrolling during drag and drop

Drag and drop
Rating: none
Zafir Anjum - 08/06/1998
Drag and drop

Dynamic Calculation of DragImage Hotspot
Rating: none
Chris Protopapas - 08/06/1998
Dynamic Calculation of DragImage Hotspot

Using ESC to cancel drag and drop
Rating: none
Zafir Anjum - 08/06/1998
Using ESC to cancel drag and drop

Moving an item or a branch
Rating:
Zafir Anjum - 08/06/1998
Moving an item or a branch


Editing labels



Preventing editing item labels in tree view
Rating: none
Marius Bakelis - 01/15/1999
Preventing editing item labels in tree view

Allowing Users to Edit Item Labels
Rating:
Zafir Anjum - 08/06/1998
Allowing users to edit item labels

Limiting label length when editing
Rating: none
Zafir Anjum - 08/06/1998
Limiting label length when editing

Handling ESC and Return Keys While Editing a Label
Rating:
Zafir Anjum - 08/06/1998
Handling ESC and Return keys while editing label


Expand - Collapse



Collapsing all branches
Rating:
Zafir Anjum - 08/06/1998
Collapsing all branches

Collapsing a branch
Rating:
Zafir Anjum - 08/06/1998
Collapsing a branch

Expanding a branch
Rating: none
Zafir Anjum - 08/06/1998
Expanding a branch


Misc - Advanced



TreeView with Three-State Checkboxes
Rating:
Mike Korzeniowski - 12/11/2003
Create check boxes in tree controls that show partial selections.

Using TreeControl (TreeView) under Win32 API (No MFC)
Rating:
Bengi - 03/14/2003
Code a tree view (tree control) under the Win32 API without MFC.

Custom ToolTip for Tree Control
Rating: none
Megavarnan Selvaraj - 05/13/2002
MFC Tree controls can be put in resizable dialog boxes. However, ToolTips don't show up for items that are not fully visible when the dialog is shrunk and only a part of the Tree control is displayed. This article shows you how to create a tree control that shows ToolTips of all its items, no matter what.

Dropdown list of choices for items in CTreeCtrl and CListCtrl
Rating:
Rustam Hovhannisyan - 02/01/2002
Derived classes from CTreeCtrl and CListCtrl with dropdown list of choices for items text (combo box)

IE Advanced Options-like Tree View
Rating: none
Huang Shansong - 01/15/2000
IE Advanced Options-like Tree View

Implementing Checkbox Controls with a TreeView
Rating: none
Peter Hahm - 12/18/1999
Implementing Checkbox Controls with a TreeView

A multi-select tree control class
Rating: none
The Chard - 07/25/1999
A multi-select tree control class

A generic Tree Property Sheet control
Rating: none
Alexander Berthold - 07/25/1999
A generic Tree Property Sheet control

Custom Draw Tree Control
Rating:
Garen Hartunian - 03/28/1999
Custom Draw Tree Control

Tooltips For Tree Control Items
Rating: none
Annapurni Mallikarjunan - 02/18/1999
Tooltips For Tree Control Items

A Print Enabled Tree View
Rating: none
Koay Kah Hoe - 01/14/1999
A Print Enabled Tree View

CTreeView extension for data population in a separate thread
Rating: none
Rajesh Deshpande - 10/28/1998
CTreeView extension for data population in a separate thread

Multi colum tree / list control
Rating: none
Mihai Filimon - 10/19/1998
Multi colum tree / list control

TreeList : Multi column tree control
Rating:
David Lantsman - 10/11/1998
TreeList : Multi column tree control

TreeHelper-A Tooltip-like Helper for formatted Text in single-line Controls
09/09/1998
TreeHelper-A Tooltip-like Helper for formatted Text in single-line Controls

Setting color and font attribute for individual items
Rating:
Zafir Anjum - 08/06/1998
Setting color and font attribute for individual items

Adding Simple Checkbox for each Item
Rating:
Zafir Anjum - 08/06/1998
Adding Simple Checkbox for each Item

Using a bitmap as a background image
Rating: none
Zafir Anjum - 08/06/1998
Using a bitmap as a background image

Right button popup menu
Rating:
Christopher A. Snyder - 08/06/1998
Right button popup menu

Setting a background color
Rating: none
Zafir Anjum - 08/06/1998
Setting a background color

Serializing to / from a text file
Rating:
Zafir Anjum - 08/06/1998
Serializing to / from a text file

Adding tooltips for item images
Rating:
Zafir Anjum - 08/06/1998
Adding tooltips for item images

Allowing multiple selection
Rating: none
Zafir Anjum - 08/06/1998
Allowing multiple selection

Adding Advanced Checkbox
Rating: none
Zafir Anjum - 08/06/1998
Adding Advanced Checkbox

Connect a list container to a tree/list control
Rating:
Zoran M.Todorovic - 08/06/1998
Connect a list container to a tree/list control


Multiview



[Updated] Advanced Tree Control
Rating:
Alex Zakharenko - 04/13/2005
Learn about an advanced control based on a standard tree view control. This control supports multiple selection mode and some visual enhancement compared to the original control.

Multi-Column Tree View
Rating:
Michal Mecinski - 11/19/2003
A multi-column tree view that is only 12 Kb long. It works excellently if you don't need all those colors, fonts, sorting, and whatever.


New Listview control (IE 4.0)



A Control like IE 4's Favorites/History/Channels View
Rating: none
Rainer Pfitzner - 08/06/1998
A Control like IE 4's Favorites/History/Channels View

Stop auto-selection of item
Rating: none
Justin Rudd - 08/06/1998
Stop auto-selection of item


Searching



Finding an item (matching any member of TV_ITEM)
Rating: none
Donovan L Brown - 04/24/1999
Finding an item (matching any member of TV_ITEM)


Tree traversal



Traversing an Entire Tree View's Hierarchy
Rating: none
Vinayak Tadas - 12/11/1999
Traversing an Entire Tree View's Hierarchy

Release tree-items' data
Rating:
Yura Khodak - 10/13/1998
Release tree-items' data

Finding an item in TreeCtrl (recursive function)
Rating:
Yura Khodak - 10/02/1998
Finding an item in TreeCtrl (recursive function)

Get previous item in outline
Rating: none
Zafir Anjum - 08/06/1998
Get previous item in outline

Get next item in outline
Rating: none
Zafir Anjum - 08/06/1998
Get next item in outline

Search text in labels
Rating: none
Zafir Anjum - 08/06/1998
Search text in labels

Get last item in branch
Rating: none
Zafir Anjum - 08/06/1998
Get last item in branch

Finding an item (matching data instead of label)
Rating: none
Nancy Davis - 08/06/1998
Finding an item (matching data instead of label)


Treeview Control



TreeListCtrl In CView With Tool Tips
Rating: none
Gary Andrew Lewis - 01/13/2003
This project was written to provide you with a Tree List to put on any CView. It supports images, checkboxes, and all the functionality of both CTree and CList Controls.

Displaying Information in a CTreeView ToolTip
Rating:
John Z. Czopowik VC++ MVP - 10/01/2002
There is some confusion in the MFC world regarding CTreeView and tooltips. Learn how to display an item label or other item-related Information in a ToolTip for CTreeView.

CTreeListCtrl: The easiest TreeView with columns
Rating:
David Carballo - 02/28/2002
A TreeView with columns.

CTreeCtrl With ToolTip Based On the Item Data
Rating: none
Ran Wainstein - 02/01/2002
How to display a custom tool tip for each item in a tree view that is of any kind of data and not only the tree item text.

Dynamic Tree Loading
Rating:
Dan Breen - 12/16/1999
Great article (with skeleton code) that shows how to dynamically load a tree control


Using images



Setting up the item images
Rating:
Zafir Anjum - 08/06/1998
Setting up the item images

Setting up state images
Rating:
Zafir Anjum - 08/06/1998
Setting up state images

Using overlay images
Rating:
Zafir Anjum - 08/06/1998
Using overlay images


Work With InterSystems. Not Separate Systems. Rapidly develop and deploy connectable applications.
Download: Intel AMT Developer's Tool Kit (DTK)
Best Practices for Developing a Web Site. Checklists, Tips & Strategies. Download Exclusive eBook Now.
Is it time to make your move to the multi-threaded and parallel processing world? Find out!
Developing Intelligent Communications? Visit the Avaya DevConnect Center on DevX.



JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Avaya Article: How to Feed Data into the Avaya Event Processor
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: Developing a Software Policy for Your Organization
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Win a Lenovo ThinkPad X300 Notebook in the Intel Resource Center Scavenger Hunt
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Toolbelt and free High-Performance SQL Code eBook
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Enterprise Search--Do You Know What's Out There?
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES