treeview treenode styles

  • Thread starter Nathan Franklin
  • 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
 
D

Daniel Moth

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
 
N

Nathan Franklin

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
 
D

Daniel Moth

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
 
N

Nathan Franklin

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
 
P

Paul G. Tobey [eMVP]

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

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top