Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In some applications, toolbars have the option of showing text, as in Internet Explorer. How can I add text to my toolbar buttons?

0
Posted

In some applications, toolbars have the option of showing text, as in Internet Explorer. How can I add text to my toolbar buttons?

0

Unfortunately, the toolbar designer provides no way of adding text to the toolbar buttons. This means that you have to add the text to the buttons in your application code, similar to specifying that all the color toolbar buttons should behave as radio buttons. Use the SetButtonText function to set the text on each toolbar button individually. This function takes two arguments: the button’s index number and the button’s text. If you really want to place text on the toolbar buttons, you also have to resize the toolbar to allow room for the text to be displayed.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123