C++, MFC, MDI application ...
How to change the MDI main widows bar color?
What I have tried:
I tryed with mainframe ... or aCMFCVisualManagerWindows7 derived class
<pre>BOOL CCiVisualStyle::DrawTextOnGlass(CDC* pDC, CString strText, CRect rect, DWORD dwFlags, int nGlowSize, COLORREF clrText)
{
CBrush br(RGB(255, 255, 0));
pDC->FillRect(rect, &br);
return CMFCVisualManagerWindows7::DrawTextOnGlass(pDC, strText, rect, dwFlags, nGlowSize, RGB(0, 0, 0));
}
but its just a part of the bar is colored ...
Thank for help