To change the background color of MenuBar, simply add below's line of code, beginning of mainframe OnCreate CBrush* NewBrush; NewBrush = new CBrush; NewBrush->CreateSolidBrush(RGB(139,137,137)); MENUINFO MenuInfo = {0}; MenuInfo.cbSize = sizeof(MenuInfo); MenuInfo.hbrBack = *NewBrush; // Brush you want to draw MenuInfo.fMask = MIM_BACKGROUND; MenuInfo.dwStyle = MNS_AUTODISMISS; CMenu* pMenu = this->GetMenu(); if(IsMenu(pMenu->m_hMenu)) { SetMenuInfo(pMenu->m_hMenu, &MenuInfo); } As for Toolbar's background color, create OnNotify at MainFrame, put below's code LPNMHDR pnmh = (LPNMHDR) lParam; if(pnmh->hwndFrom == m_wndToolBar.m_hWnd) { LPNMTBCUSTOMDRAW lpNMCustomDraw = (LPNMTBCUSTOMDRAW) lParam; CRect rect; m_wndToolBar.GetClientRect(rect); FillRect(lpNMCustomDraw->nmcd.hdc, rect, (HBRUSH)GetStockObject(GRAY_BRUSH)); } return CFrameWnd::OnNotify(wParam, lParam, pResult); Thanks for those who helped me. I'm giving out the solution i've got.
good