June 30th, 2009, 11:51 AM
Toolbar button sizes
I've created a toolbar that has text to the right of the icon using the TBSTYLE_LIST style and added text to a button using SetButtonText(). Initially, the button size is not changed to reflect the fact that there is now text on the button. Various pages online solve this by using SetSizes on the toolbar to set the button size correctly.
My problem is that this sets all the button sizes to the same width. Only the first two buttons on my toolbar have text, the others I want to only have icons.
Is there a way to set the size (width) for individual buttons on the toolbar?
Tags for this Thread
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!