treeview treenode styles

  • Thread starter Thread starter Nathan Franklin
  • Start date Start date
N

Nathan Franklin

hello list,

i have a question relating to the treeview control in the compact framework.

this is what i would likt to achieve and i have no idea where to start...

i would like to abilty to have a gradient type of effect on a treenode
(individual) with a picture next to it..

is this hard?

i am not new to programming, but am new to dot net.

thanks heaps list

kind regards
nathan
 
You can set images for a treenode (one for selected and one for not), that
is easy. With CF v2.0 you can even change their fore/back color.

You can set a gradient background to a listview:
http://blog.opennetcf.org/ayakhnin/PermaLink.aspx?guid=716AAB0F-03FC-4608-9EC5-A145D17E410B

You can see an example of gradient style in the progressbar from sdf (e.g.
the CreateGradBackground method):
http://vault.netcf.tv/VaultService/...rogressBarEx.cs&version=1&includedversions=20
(guest, guest)

.... but gradient on a treeview and in fact for a treenode is probably not
possible, sorry.

Cheers
Daniel
 
thanks for your replies guys,

how do i check what version of the compact framework i have installed? can
visual studio 2003 be upgraded?

thanks again

nathan
 
No, you need to get VS2005 Standard (released today) or higher and it can
side-by-side with VS.net 2003.
CF v2.0 also has a stand alone SDK...

Cheers
Daniel
 
sothere is no way to put the cfv2 into vs2003??
Daniel Moth said:
No, you need to get VS2005 Standard (released today) or higher and it can
side-by-side with VS.net 2003.
CF v2.0 also has a stand alone SDK...

Cheers
Daniel
 
No supported way. You might be able to figure something out, but I doubt
that it would be worth it.

Paul T.
 
Back
Top