单文档的BCG程序,为什么在CMainFrame::OnCreate最后设置工具条的标题,为什么无效?
我们通过如下代码将标题设置为标准
m_wndToolBar.SetWindowText (_T("标准")); ------------
执行以下代码是会将标题设置回来。
if (!ProcessShellCommand(cmdInfo)) return FALSE;
单文档的BCG程序,为什么在CMainFrame::OnCreate最后设置工具条的标题,为什么无效?
我们通过如下代码将标题设置为标准
m_wndToolBar.SetWindowText (_T("标准")); ------------
执行以下代码是会将标题设置回来。
if (!ProcessShellCommand(cmdInfo)) return FALSE;