Re: Status bar problem - sample code i'm using.
Here is the sample code that I'm using :
******************************
// Get the frame window for this view
CChildFrame* viewFrame = static_cast<CChildFrame*>(GetParentFrame());
// Build the message string
CString StatusMsg("Zoom :");
StatusMsg += static_cast<int>('0' + m_Zoom);
// Write the string to the status bar
viewFrame->m_StatusBar.GetStatusBarCtrl().SetText(StatusMsg, 0, 0);
******************************
Re: Status bar problem - sample code i'm using.
CString StatusMsg;
StatusMsg.Format("Zoom :%d", m_Zoom);