July 2001 Tip of the Month - Dynamically Create an Image List
One of my pet peeves - once you assign an image list to a Toolbar, TreeView
or ListView you can't change the images without 'unhooking' the Toolbar,
TreeView or ListView. So the process is, unhook the image list from the
control, change the images, re-hook the control. And try to remember the
names or indexes of the images.
I have developed a technique which stores the images in an image control
then dynamically builds the image list then hooks the images to the Toolbar.
I demonstrate this as the July 2001 tip-of-the-month. The tip also
demonstrates how to dynamically create a large and small icon tool bar.
to view the tip.
More tips link to:
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL