TreeView Bold Work Around Help

G

Guest

I am having the problem where when I change the font of a TreeNode in a
TreeView to a bold property, the bounds or rectangle that draws the node does
not expand so that the text ends up being cut off as shown in the attached
image. I have read all sorts of suggestions about making all the font bold
first, then changing it back to regular which seems to work, but is sort of a
crappy solution. My question: Is there any way to just override the drawing
size or the fill rectangle of the selection box manually in order to not have
the cut off letters? I tried looking into DrawItems but that does not seem to
work for a TreeView.

I am still new at changing how controls draw, so please be gentle
 

Ask a Question

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.

Ask a Question

Top