By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,364 Members | 1,536 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,364 IT Pros & Developers. It's quick & easy.

C# Owner drawn text tree view misses the horizontal scrollbar.

P: n/a
Hey guys,

So here i've got this treeview that i owner draw the text, mainly to
put it over 2 lines and put some additionnal icons in there, my problem
is the side scrolling.

You see when you create a node and don't give it a text, it has a width
of like, 7px, and what I draw is a lot wider than that, so i need a way
to tell the node what size it have...

A treenode have a .Bounds proptyer that is readonly, i can't even set
the width says : "Bounds is not a variable"... so i've searched
everywhere and didn't found how to do that, someone told me that i may
have to send a message to the native peer but i have no single idea
what that means.

So thank you very much in advance

Dec 8 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.