cTreeView: Wrapper to Enhance TreeView Control v 2.3

Category:
Forms and Controls
Type:
Classes
Difficulty:
Advanced
Author:
Slider

Version Compatibility: Visual Basic 6

More information:
This wrapper is designed to deliver the most common and also complicated features that's expected from the control but are not included (standard with the control) or are very difficult to implement.

Now boasts 75 Properties & Methods (features), 7 tutorial / example applications and detailed Html help files and still growing!

Features include:- **Disabled Nodes Interface** with full keyboard and mouse support (Unique!), ** Mult-Node Selection ** with keyboard support, HitTestEx (with comprehensive feedback), IsNodeTextUnique, IsPathExpanded, NodeAbsolutePosition, NodeAbsoluteIndex, NodeCoord, NodeCountChildren (recursively for all sub-branches), NodeFindEx1 (containing), NodeFindEx2 (advanced pattern-matching), NodeFindObjectInTag (advanced pattern-matching), NodePosition, NodeUniqueText, SubNodesSorted, and EditLabelMaxLength, and much, much more....

The Disabled Nodes Interface for example allows individual nodes to be enabled/disabled (not selectable) and toggled with the ability to affect child nodes with a single command; disabled Fore/Back colours and Bold states are programmable (preserves the original Forecolor, Backcolor and bold status of each individual node) and fires a StateChange event when a node or a range of nodes are disabled/enabled. The treeview control by itself is a powerful control when used properly.

The included tutorials also demonstrate how to tie multiple ADO recordsets to a Treeview control with drag'n'drop automatic updates(move & copy nodes and branches), load-on-demand for instataneous display of large amounts of data; benchmarking; cursor management; TabStrip management; working with common dialogs through APIs; and much, much more...

To see the demos, open the .vbgs in each project folder.

UPDATE TO Version 2.3, 8/17/02. Added BackMode, BackColor, BackPicture, BackFileName, DisableMultiSelect, New Tutorial (Disable Multi-Node Select), updated Tutorial 1 (demonstrate new Back features) and added Animated TreeView Image Background (YES - A first! Pretty unique huh!). BackColor & BackPicture work independently of the Nodes therefore Nodes maintain their original colors! Enjoy!


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download ctreeview.zip