设置状态栏文字

CStatusBar*   pStatus=(CStatusBar*)   
AfxGetApp()->m_pMainWnd->GetDescendantWindow(AFX_IDW_STATUS_BAR);
pStatus->SetPaneText(0,"test string");
pStatus->SetPaneText(1,"不会要");   
pStatus->SetPaneText(2,"你不好");   


posted @ 2013-11-27 16:22  友琼  阅读(293)  评论(0)    收藏  举报