Bolding Treeview nodes !!!!

Hi


I am using vb.net 2002

Actualy i want to bold some nodes depends on some condtions.

i used this code for bolding

N.NodeFont = New Font(Me.Font, FontStyle.Bold)

its working fine..
problem is ,suppose node text was "Microsoft Book"
after bolding that node, it may loose some charactor .for eg. it will become "Microsoft Bo" or "Microsoft Boo"
its depends on its length.Depends upon its length we may lose more charactors.

how can i overcome this?


thanks in advance

[984 byte] By [Deedhun] at [2007-12-23]
# 1
Try increasing the width of the control.
nobugz at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 2
it is not posible...
Deedhun at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 3
You could change the "Backcolor" of the Node, if the goal is simply to highlight it.
Note also that the TreeView has an automatic tooltip-text for text that is truncated.

Otherwise you obviously need to make the text smaller, or the box bigger.

HemeFlasher at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic IDE...
# 4
Hi

i did it in 2005 .
it was easy....

Any Way Thanks For Help

Deedhun at 2007-8-30 > top of Msdn Tech,Visual Basic,Visual Basic IDE...