Dropdown toolbar button text truncated with EnableVisualStyles

  • Thread starter Thread starter ChrisHerrick
  • Start date Start date
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.
 
Back
Top