怎样设置状态栏的文字? CFrameWnd::SetMessageText或者取到statusbar的指针,用CStatusBar的相应成员函数. 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 具体操作忘记了,但是肯定在《Visual c++ 技术内幕》(第五版)相关章节里边有,好像很简单的样子,而且讲的很透彻,自己看看好了。Good luck. 在CMainFrame::中char str[20];CStatusBar m_wndStaturBar;CMainFrame* pMFrame=(CMainFrame*)AfxGetMainWnd();pMFrame->m_wndStatusBar.SetPaneText(1,str,TRUE) 应该为:在CMainFrame::中char str[20];CStatusBar m_wndStaturBar;CMainFrame* pMFrame=(CMainFrame*)AfxGetMainWnd();pMFrame->m_wndStatusBar.SetPaneText(0,str,TRUE) 如何保存少量的设置数据 求MagicUI使用示例 好看的代码 如何解决阻塞? 使用wininet进行FTP编程问题 sendMessage的参数wParam和lParam的具体值 如何使mainframe无最大化最小化等按扭?在线 如何模仿鼠标点击在IE窗口中的按钮、选取组合框中某一项?谢谢 请问VC++里面支不支持vector容器类型,复数类型,volatile限定修饰符,pair类型 想在显示之前检查用户浏览的内容,怎么办? 字体的高度height和字号之间如何转换? 实在没办法了,我的MSN无法登录,急着用啊,在线等待,各位大侠,帮忙!
char str[20];
CStatusBar m_wndStaturBar;
CMainFrame* pMFrame=(CMainFrame*)AfxGetMainWnd();
pMFrame->m_wndStatusBar.SetPaneText(1,str,TRUE)
在CMainFrame::中char str[20];
CStatusBar m_wndStaturBar;
CMainFrame* pMFrame=(CMainFrame*)AfxGetMainWnd();
pMFrame->m_wndStatusBar.SetPaneText(0,str,TRUE)