The new vbAccelerator Site - more VB and .NET Code and Controls
Source Code
2 Common Controls Library &nbsp

Using a Non-MS ImageList with the Microsoft TreeView Control

A Techniques for improving the standard TreeView control's ImageList Support


TreeView Using the System ImageList


Download Code
Download Paul's TreeView/ImageList sample (24kb)
Download The TreeView/SysImageList sample (15kb)

&nbsp
This sample, from Paul (wpsjr1@syix.com) demonstrates how to use an external ImageList with better facilities, or the System ImageList with the Microsoft COMCTL32.OCX TreeView control. Check out his web site for some more small but perfectly formed API source code samples.

Paul's sample demonstrates how to attach a TreeView to his own ImageList class, which is possibly the smallest ImageList class I've ever seen! The work of setting the icon is done in the API interface to the TreeView cTreeView.



TopBack to top
Source Code - What We're About!Back to Source Code

&nbsp

AboutContributeSend FeedbackPrivacy

Copyright 1998-1999, Steve McMahon ( steve@vbaccelerator.com). All Rights Reserved.
Last updated: 15 November 1999