Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Images For a Treeview Node

Status
Not open for further replies.

simon1974

Technical User
Apr 2, 2002
43
US
Is there any way that I can assign two images, side by side, to a treeview node instead of just one? I am designing a task and documentation database and I want an image for the type of document it is and then an image for the status (working, complete, reviewed, etc.) I wasn't sure how to get two images assigned to a node. Any help would be appreciated.

Thanks
Sean
 
Can only add one image. (unless someone else has a way that I'm unaware of)
My suggestion would be to create a new image of the 2 images side by side then add that.
 
Thanks gol4. I think this is a viable solution. The only problem is that the ImageList control squeezes the icons into the size of one, so when I create a new image that is twice as wide as the standard icon, the image is distorted/elongated. Anyway you know of that I can make the image wider so the distortion is removed?

Thanks
Sean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top