By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,573 Members | 1,927 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,573 IT Pros & Developers. It's quick & easy.

spice the boring default winforms treeview appearance up a bit...

P: n/a
I am using the Winforms Treeview right out of the toolbox with all the
default settings. It looks very boring.
What can I do to dress it up and make it look at least kind of cool?

I remember hearing one time that one line of code would give it a Windows XP
look and feel. But I can't remember what that was.
I would like to give it some depth or 3D effect with just a little bit of
system color scheme behind the node boxes.

Thank you for any ideas. -hazz
Nov 21 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi,

I believe that you are looking for application.enablevisualstyles.
Unfortunately that doesnt do much for the treeview control. You might need
to use a third party control to see much of a difference.

Developers express treelist
http://www.devexpress.com/Products/NET/XtraTreeList/

Pure Components Treeview
http://www.purecomponents.com/produc.../features.aspx

Glacical Treelist
http://www.glacialcomponents.com/ProdDetail/gtl.aspx

Ken
-----------------
"Hazz" <ha**@nospameroosonic.net> wrote in message
news:et**************@TK2MSFTNGP14.phx.gbl...
I am using the Winforms Treeview right out of the toolbox with all the
default settings. It looks very boring.
What can I do to dress it up and make it look at least kind of cool?

I remember hearing one time that one line of code would give it a Windows XP
look and feel. But I can't remember what that was.
I would like to give it some depth or 3D effect with just a little bit of
system color scheme behind the node boxes.

Thank you for any ideas. -hazz

Nov 21 '05 #2

P: n/a
Thank you for these ideas Ken.
For a start I'll look at the imagelist collection and see what I can do
there.
And if I could just make those boxes at the nodes look a little 3D'ish, that
might help.
-hazz

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
Hi,

I believe that you are looking for application.enablevisualstyles.
Unfortunately that doesnt do much for the treeview control. You might
need
to use a third party control to see much of a difference.

Developers express treelist
http://www.devexpress.com/Products/NET/XtraTreeList/

Pure Components Treeview
http://www.purecomponents.com/produc.../features.aspx

Glacical Treelist
http://www.glacialcomponents.com/ProdDetail/gtl.aspx

Ken
-----------------
"Hazz" <ha**@nospameroosonic.net> wrote in message
news:et**************@TK2MSFTNGP14.phx.gbl...
I am using the Winforms Treeview right out of the toolbox with all the
default settings. It looks very boring.
What can I do to dress it up and make it look at least kind of cool?

I remember hearing one time that one line of code would give it a Windows
XP
look and feel. But I can't remember what that was.
I would like to give it some depth or 3D effect with just a little bit of
system color scheme behind the node boxes.

Thank you for any ideas. -hazz

Nov 21 '05 #3

P: n/a
Hi,

Application.enablevisualstyles will do that on an windows xp
computer. Dont forget to call application.doevents after you enable the
visual styles.

Ken
--------------
"Hazz" <ha**@nospameroosonic.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Thank you for these ideas Ken.
For a start I'll look at the imagelist collection and see what I can do
there.
And if I could just make those boxes at the nodes look a little 3D'ish, that
might help.
-hazz

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
Hi,

I believe that you are looking for application.enablevisualstyles.
Unfortunately that doesnt do much for the treeview control. You might
need
to use a third party control to see much of a difference.

Developers express treelist
http://www.devexpress.com/Products/NET/XtraTreeList/

Pure Components Treeview
http://www.purecomponents.com/produc.../features.aspx

Glacical Treelist
http://www.glacialcomponents.com/ProdDetail/gtl.aspx

Ken
-----------------
"Hazz" <ha**@nospameroosonic.net> wrote in message
news:et**************@TK2MSFTNGP14.phx.gbl...
I am using the Winforms Treeview right out of the toolbox with all the
default settings. It looks very boring.
What can I do to dress it up and make it look at least kind of cool?

I remember hearing one time that one line of code would give it a Windows
XP
look and feel. But I can't remember what that was.
I would like to give it some depth or 3D effect with just a little bit of
system color scheme behind the node boxes.

Thank you for any ideas. -hazz


Nov 21 '05 #4

P: n/a
Thank you for saying it twice Ken. application.enablevisualstyles. why the
application.doevents?
I included these two lines on by .net 1.1 based vs.net app but didn't notice
any difference whatsoever in the appearance.
But you got me pointed in the right direction. -hazz

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:Oo**************@TK2MSFTNGP12.phx.gbl...
Hi,

Application.enablevisualstyles will do that on an windows xp
computer. Dont forget to call application.doevents after you enable the
visual styles.

Ken
--------------
"Hazz" <ha**@nospameroosonic.net> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Thank you for these ideas Ken.
For a start I'll look at the imagelist collection and see what I can do
there.
And if I could just make those boxes at the nodes look a little 3D'ish,
that
might help.
-hazz

"Ken Tucker [MVP]" <vb***@bellsouth.net> wrote in message
news:OI**************@TK2MSFTNGP10.phx.gbl...
Hi,

I believe that you are looking for application.enablevisualstyles.
Unfortunately that doesnt do much for the treeview control. You might
need
to use a third party control to see much of a difference.

Developers express treelist
http://www.devexpress.com/Products/NET/XtraTreeList/

Pure Components Treeview
http://www.purecomponents.com/produc.../features.aspx

Glacical Treelist
http://www.glacialcomponents.com/ProdDetail/gtl.aspx

Ken
-----------------
"Hazz" <ha**@nospameroosonic.net> wrote in message
news:et**************@TK2MSFTNGP14.phx.gbl...
I am using the Winforms Treeview right out of the toolbox with all the
default settings. It looks very boring.
What can I do to dress it up and make it look at least kind of cool?

I remember hearing one time that one line of code would give it a Windows
XP
look and feel. But I can't remember what that was.
I would like to give it some depth or 3D effect with just a little bit of
system color scheme behind the node boxes.

Thank you for any ideas. -hazz


Nov 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.