Sometimes I populate the tree's node text with data from fixed lenght fields. The treeview accounts for these spaces in determining the presentation of the horizontal scroll. By trimming the spaces fromn the end you can affect the appearance of the scroll bar.
>Really, I couldn't understand what you mean...
>
>>>How to determine if treeview has a scroolbar?
>>>
>>>I ask it because I want to resize treeview until it won't has a scroolbar. It'a a stupidly dealer request. :(
>>
>>You might try to alltrim() or left() the node text.
Imagination is more important than knowledge