Home All Groups Group Topic Archive Search About
Author
19 Sep 2006 10:45 PM
Stuart Nathan
I created my own Treeview because I want a transparent backcolor.
It works but is much slower than the native control, because of the redraw
method.
It is also much slower in VB Express than in Visual Studio 2003.
Each node is drawn separately and is inherited from the panel object.

Any ideas as to where to start to look?

Author
19 Sep 2006 12:33 PM
Patrice
You could perhaps try another lower level drawing function than using
panels...The treeview has also a property (DrawMode) that allows to take
control of the rendering...

Fix also your date so that your message is not deleted (this is what I'll do
once this response is sent).
--
Patrice

"Stuart Nathan" <stuart.nat***@homecall.co.uk> a écrit dans le message de
news: u433r282GHA.4***@TK2MSFTNGP05.phx.gbl...
Show quoteHide quote
>I created my own Treeview because I want a transparent backcolor.
> It works but is much slower than the native control, because of the redraw
> method.
> It is also much slower in VB Express than in Visual Studio 2003.
> Each node is drawn separately and is inherited from the panel object.
>
> Any ideas as to where to start to look?
>
Author
19 Sep 2006 4:03 PM
Stuart Nathan
User DrawMode doesn't work to create transparent background.
Sorry about the date.

What low level painting techniques do you mean. I use GDI+