Visual Studio MFC MDI application with RichEditView, set status bar font color

  • Thread starter Thread starter gsegria
  • Start date Start date
G

gsegria

Guest
I created Visual Studio MFC MDI application with RichEditView.

I add custom status bar and set font color.

I set font color using my code but no success in status bar .



================

Here is sample code:

================

In header file:
CMFCStatusBar m_StatusBar;

================

In cpp file:

m_StatusBar.SetPaneTextColor(0, RGB(100, 0, 15), 0); // success

m_StatusBar.SetPaneTextColor(1, RGB(100, 0, 15), 0); // no success

m_StatusBar.SetPaneTextColor(2, RGB(100, 0, 15), 0); // no success

m_StatusBar.SetPaneTextColor(4, RGB(100, 0, 15), 0); // success


1591788.png

Continue reading...
 
Back
Top