Ownerdraw Treeview/Listview
Hi all.
Does any one have an example of an ownerdrawn treeview and/or listview?
Combo's and listboxes are no problem, but for some reason MS decided that we don't need that on treeviews and listviews.
But I hate the ImageList http://www.vbforums.com/images/icons/icon13.gif , especially if my nodes and items are dynamic. Even more so, if it's a filelist, so images are created at runtime. It's a drag to add them to the imagelist, and set the imageindex of the item all the time.
Also, when removing nodes and items, you need to clean up the imagelist to reduce memoryconsumption.
So I would appreciate it if anyone could guide me in the right direction.
PS. I have read a little about Custom Draw on MSDN, but it was some Windows SDK that I didn't get. Too much API.
Thanks.