Hello everybody, I would like to automatically adjust the width of my treeview to the longest text in the treeview so as not to have the horizontal scrollbar. Anybody know how to do this?

I don't want to use the ShowScrollBar function as the text can be cut off, I want the width of the treeview to be the minimum width to show all the text without the horizontal scrollbar.