Multiple images on a TreeNode in a TreeView control

Hello,
Is it possible to have more than one image on a tree node in a TreeView control? I need to display status of items in the tree and that would be the best way of showing it. I can't find any samples on this.
Thanks!
Amit
[248 byte] By [AmitG] at [2007-12-16]
# 1
It's not possible to display multiple images on a tree node in a TreeView control. The TreeView control is simply a thin wrapper around the TreeView Windows Common Control. So funcationality is somewhat limited. (That's why you give it an image list and an index offset. That's what the underlying common control uses.) You can't do funky things like drawing new images on the fly. Your best bet would be to find a third-party control that provides the required functionality.
JamesKovacs at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 2

Note that in Visual Studio 2005 we have added support for state images (which always existed in the ComCtl TreeView that is provided by the operating system). StateImages is an additional image that you can put along side (to the left) of a TreeNode's standard Image. Using a StateImage you can effectively have two images for a treenode.

-mark
Program Manager
Microsoft
This post is provided "as-is"

MarkRideout at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 3
I could really use that right now! I can't even set a different font color for different tree nodes, so I guess my only option at this point is to find a 3rd party control.
AmitG at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...
# 4
Is there a way to force the TreeNode to display its state image on the RIGHT side of the Node image ?
AdelHazzah at 2007-9-9 > top of Msdn Tech,Windows Forms,Windows Forms General...