如何设置工具条标题


工具条是一个窗口,所以可以在调用CWnd : : SetWindowText来设置标题,例子如下:
int CMainFrame : : OnCreate (LPCREATESTRUCT lpCreateStruct )
{
 …
 // Set the caption of the toolbar .
 m_wndToolBar.SetWindowText (_T "Standdard")

[返回“一学网www.onestudy.net”首页]