I got half-way, or so I thought... maybe not... I was easily able to
get multiline text for a treenode by adding some code to the tree's
DrawNode and setting the treeview's draw mode to OwnerDrawAll, but the
area that acknowledges mouse clicks for the node is still a single
line tall. I am guessing that the bounds for the nodes all get their
height from the treeview's ItemHeight, and the height doesn't depend
on what's being drawn. Somewhere, there must be a way to override
this...
Well, I'll keep at it... if anything interesting pops up I'll post
it.
I got half-way, or so I thought... maybe not... I was easily able to
get multiline text for a treenode by adding some code to the tree's
DrawNode and setting the treeview's draw mode to OwnerDrawAll, but the
area that acknowledges mouse clicks for the node is still a single
line tall. I am guessing that the bounds for the nodes all get their
height from the treeview's ItemHeight, and the height doesn't depend
on what's being drawn. Somewhere, there must be a way to override
this...
Well, I'll keep at it... if anything interesting pops up I'll post
it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.