updating status bar
-
Hi folks, Got a Q re updating text on a status bar after changing focus from an application. I have a program I wrote that updates a database and shows the numbers of records processed on the status bar. When I change focus from that program the counter stops and when I subsequently go back to it, the numbers of recds processes stay frozen. What can I do to update the status bar once the program regains focus? Thx, Ralf.
-
Hi folks, Got a Q re updating text on a status bar after changing focus from an application. I have a program I wrote that updates a database and shows the numbers of records processed on the status bar. When I change focus from that program the counter stops and when I subsequently go back to it, the numbers of recds processes stay frozen. What can I do to update the status bar once the program regains focus? Thx, Ralf.
-
Using MFC and in CMainFrame() I have the following code. That's all I have for code handling the status bar. void CMainFrame::UpdateStatus(UINT nPane, CString str) { this->m_wndStatusBar.SetPaneText(nPane, str); }
-
Using MFC and in CMainFrame() I have the following code. That's all I have for code handling the status bar. void CMainFrame::UpdateStatus(UINT nPane, CString str) { this->m_wndStatusBar.SetPaneText(nPane, str); }