我发现一些软件,在工具条上不仅有位图,而且在位图下面还有文字说明,真是羡慕不已,然后就一头扎进MSDN和其他书籍中找方法,未果。
还请足下提示(具体操作步骤更好),谢谢!

解决方案 »

  1.   

    CToolBar::SetButtonTextSee Also
    CToolBar Overview | Class Members | Hierarchy Chart | CToolBar::GetButtonText
    Call this function to set the text on a button.BOOL SetButtonText(
       int nIndex,
       LPCTSTR lpszText 
    );
    Parameters
    nIndex 
    Index of the button whose text is to be set. 
    lpszText 
    Points to the text to be set on a button. 
    Return Value
    Nonzero if successful; otherwise 0.Example
    See the example for CToolBar::GetToolBarCtrl.
      

  2.   

    你看看这里的例子也好http://www.csdn.net/dev/Visual%20C++/source%20code/ToolBar/multi_size_multi_color_toolbar_sample.shtml.htm