Dropdown toolbar button text truncated with EnableVisualStyles

C

ChrisHerrick

I'm having problems with my toolbar button text being truncated when I
use EnableVisualStyles. Toolbar style is Flat, the button is a
dropdown button and I'm setting the buttonsize on the toolbar to 0 in
order to get the buttons to size to the image and text. When the
application comes up, the text for this button shows up minus the last
few characters (i.e. "CSharp" show up as "CSha..."). Anyone run into
this problem? Is there a way to override the draw event for the
toolbar control? This is driving me crazy.
 

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