Changing arrows grpahics on a tree view control 
Author Message
 Changing arrows grpahics on a tree view control

Does anyone know how to change the plus and minus graphics in a treeview to
custom ones? Like arrows that point left or down (like in mac) thanks!


Thu, 01 Dec 2005 09:48:14 GMT  
 Changing arrows grpahics on a tree view control
This is no easy task, you'll have to owner draw the control, and because
theres no standard implementation of this, you'll have to owner-draw
absolutely EVERYTHING, I wouldn't recommend it...

--
Happy to help,
-- Tom Spink

Please respond to the newsgroup,
so all can benefit.

One Day,

Quote:
> Does anyone know how to change the plus and minus graphics in a treeview
to
> custom ones? Like arrows that point left or down (like in mac) thanks!



Thu, 01 Dec 2005 16:25:46 GMT  
 Changing arrows grpahics on a tree view control
Hello,


Quote:
> Does anyone know how to change the plus and minus graphics
> in a treeview to custom ones? Like arrows that point left or down
> (like in mac) thanks!

You need a "hack". Here is a sample written in VB (by Brad Martinez) classic
which does what you want. I didn't even try to translate it to VB .NET.

http://www.mvps.org/btmtz/treeview/tvcustombuttons.zip

;-)

Regards,
Herfried K. Wagner
--
MVP VB Classic, VB .NET
http://www.mvps.org/dotnet



Thu, 01 Dec 2005 19:00:24 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Tree View control appearance change?

2. Changing font in the tree view control....

3. Tree View Control as file view

4. up arrow, down arrow, left arrow, right arrow

5. Tree control / List view in ONE control?

6. Changing the calendar view in a Outlook view control

7. Change view in Outlook View Control (OVC)

8. tree view and list view..

9. Tree View / List View

10. List View to Tree View

11. Tree View & List View Icons

12. Populating a Tree View Control

 

 
Powered by phpBB® Forum Software