views:

6

answers:

0

Hi

My application is using MFC Ribbon(VS2008 + Feature pack9). I'm not able to change RibbonStatus Bar Pane text color.I override the virtual int DrawPaneText(CDC* pDC, const CString& strText, CRect rectText, UINT uiDTFlags) function but things are not working.

In non Ribbon Status Bar there is a function void SetPaneTextColor(int nIndex, COLORREF clrText = (COLORREF)-1 , BOOL bUpdate) in order to change pane text color.

how to do this in MFCRibbonStatusBarPane ?