ok, trying to replace the background of a treeview control (to stick a logo in one corner actually, though *behind* the text).

a bit of digging led me to the OnPaintBackground event, which I've had working ok for a panel, label etc. But for a treeview, even though the event is there, and can be overridden etc. it doesn't fire..

I think I've read somewhere that this event does nothing and I'd need to intercept the actual messages so i can repaint the background myself, question is what message do i listen for and how?

if i can redraw the background the plan is to also redraw the frame to look a bit more 'XP' as well.

all this lives in a control inherited from 'TreeView'.

any ideas? preferably that don't involve rewriting the treeview control from scratch...