I found this piece of code on the internet
It is supposed to write some text in the statusbar but I can't get it to work. Is there anyone that have any good ideas about how do do this.Code:CString s = "Text"; CStatusBar* p = (CStatusBar*)AfxGetApp()->m_pMainWnd->GetDescendantWindow(AFX_IDW_STATUS_BAR); p->SetPaneText(1, s);
Thanks