Sign in to follow this  
Followers 0
Madza91

Treeview without Hscroll ?

3 posts in this topic

Hello, I was wondering how to do this, to made Treeview without Hscroll - when is treeviewitem too large to show in one line to be showed in another treeviewitem - something like wordwrap in treeview... is it possible???


[quote name='dbzfanatic' post='609696' date='Nov 26 2008, 08:46 AM']This is a help forum not a "write this for me" forum.[/quote](Sorry for bad English) :)

Share this post


Link to post
Share on other sites



For word wrap you would need to use owner drawn text on a TreeView DrawNode Event.

In short, what your asking for there is no simpleton way to do it without writing custom functions to accommodate your needs.

Share this post


Link to post
Share on other sites

For word wrap you would need to use owner drawn text on a TreeView DrawNode Event.

In short, what your asking for there is no simpleton way to do it without writing custom functions to accommodate your needs.

Well, you could use the $TVS_NOHSCROLL style. (This style should be added to the main gui control styles helpfile... $TVS_NOSCROLL is the only thing talked about there). It won't wrap, but a simple mouse-over will show the rest of the text


Regards,Josh

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0