>how to make use of imagelist in listview or treeview.
>URGENT!!
>Thaks a lot.
It has been a while that I used it. Let's see if I remember. It goes something like this:
Add a TreeView and an ImageList to your form.
Add one or more images to the ImageList.
Go to the TreeView, and, somewhere in the properties, assign the ImageList. That is to tell the TreeView where to get images from.
Somewhere in code, you can assign an image to a node. By number, I think.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)