I've built a VCL based on TTreeView control.
Even if some Nodes.Text are wider than the displayed area, I do not want to display the horizontal scrollbar.
I tried ShowScrollBar(ctv.Handle, SB_HORZ, False) without results...
It worked for me. I did it from a form's button handler. When you said "I've built a VCL based on TTreeView control" did you mean that you were building a VCL application or a VCL component?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.