472,374 Members | 1,592 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,374 software developers and data experts.

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

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
4 3414
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: timtos | last post by:
I want to customize the appearance of node text in a treeview control. Ive found an article about including the paint event for a treeview control but it seems that I need to catch up another win32...
0
by: stardust | last post by:
Hi everyone, Within a Winform application, a treeview is contained in a User Control and the User Control is then located within a splitview. When the UserControl added some nodes into the...
10
by: p3t3r | last post by:
I have a treeview sourced from a SiteMap. I want to use 2 different CSS styles for the root level nodes. The topmost root node should not have a top border, all the other root nodes should have a...
0
by: Corky Whiteboard | last post by:
I have a Winforms treeview with subclassed treenodes. The treeview has "ShowNodeToolTips" set to true. The text is showing for each node, but it is not formatted 'pretty' - it comes out in one...
3
by: edamron | last post by:
I am writing my first VB.Net program and have come across an interesting problem. My department generates large volumes of documents. By law we are required to keep the documents for a specific...
0
by: noneya22 | last post by:
I want to use a TreeView control as a one-level, vertical navigation menu. I'm using this control currently with a SiteMapDataSource and .sitemap file. I've written code that associates an image...
1
by: echuck66 | last post by:
Hi, I have a Winforms 2.0 project that I'm working on that involves populating a treeview control from data contained in a fairly large dataset that has to be refreshed periodically. I have no...
4
by: frostbb | last post by:
I have a C# WinForms treeview with 20 or so 'level 0' nodes. My users will normally have 2 of the 'level 0' branches open down to a '5th level' selected node. The users will make updates to...
1
by: renuami | last post by:
Hello Please advise .... I do not know in which section i should be posting Winforms Questions. There is not Option. So i am posting it here... apologize for any inconvinence..... This is...
2
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and efficiency. While initially associated with cryptocurrencies...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge required to effectively administer and manage Oracle...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was proposed, which integrated multiple engines and...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific technical details, Gmail likely implements measures...
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python has gained popularity among beginners and experts...
2
by: Ricardo de Mila | last post by:
Dear people, good afternoon... I have a form in msAccess with lots of controls and a specific routine must be triggered if the mouse_down event happens in any control. Than I need to discover what...
1
by: Johno34 | last post by:
I have this click event on my form. It speaks to a Datasheet Subform Private Sub Command260_Click() Dim r As DAO.Recordset Set r = Form_frmABCD.Form.RecordsetClone r.MoveFirst Do If...
1
by: ezappsrUS | last post by:
Hi, I wonder if someone knows where I am going wrong below. I have a continuous form and two labels where only one would be visible depending on the checkbox being checked or not. Below is the...
0
by: F22F35 | last post by:
I am a newbie to Access (most programming for that matter). I need help in creating an Access database that keeps the history of each user in a database. For example, a user might have lesson 1 sent...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.