From 0d403a65dcf4b7755ab0f40f052a7505b1fd48de Mon Sep 17 00:00:00 2001 From: Takashi Sawanaka Date: Mon, 24 Jun 2024 09:03:00 +0900 Subject: [PATCH] Add shadowed rounded rectangles to tab bar and path bar (7) --- Src/Common/scbarcf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/Common/scbarcf.cpp b/Src/Common/scbarcf.cpp index 27a3b6f7fc3..a686d32ad50 100644 --- a/Src/Common/scbarcf.cpp +++ b/Src/Common/scbarcf.cpp @@ -115,8 +115,8 @@ void CSizingControlBarCF::NcPaintGripper(CDC* pDC, const CRect& rcClient) // draw the caption background //CBrush br; const COLORREF clrCptn = m_bActive ? - ::GetSysColor(COLOR_ACTIVECAPTION) : - ::GetSysColor(COLOR_INACTIVECAPTION); + ::GetSysColor(COLOR_GRADIENTACTIVECAPTION) : + ::GetSysColor(COLOR_GRADIENTINACTIVECAPTION); const COLORREF clrBack = ::GetSysColor(COLOR_3DFACE); const int radius = pointToPixel(2.25); DrawRoundedRectWithShadow(pDC->m_hDC, rcGrip.left, rcGrip.top, rcGrip.Width(), rcGrip.Height(), radius, 0, clrCptn, clrBack, clrBack);