Making a transparent TreeView

jjerry

Newcomer
Joined
Oct 3, 2005
Messages
7
Hi,

I'm trying to make a TreeView inherited control that just displays an image in the background of the nodes. I tried overriding OnPaint/OnPaintBackground methods, BackgroundImage property, even making a parent picturebox underneath the control and setting SupportsTransparentBackColor style bit, but it seems that the TreeView control doesn't actually support that :) Opaque style also doesn't work.
Did anyone come across such a thing? It could make the treeview look a lot cooler, combined with some nice node icons.

Thanks,
Janko Jerinic
 
Back
Top