Skip to content

Commit bc693ac

Browse files
committed
Temporary disable NavBar scroller background brush
1 parent 73b4794 commit bc693ac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/NavDlg/NavDialog.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,8 +420,8 @@ void NavDialog::showScroller(RECT& r)
420420
const int w = cScrollerWidth;
421421
const int h = m_navHeight;
422422

423-
if (m_hScrollerBackBrush == NULL)
424-
m_hScrollerBackBrush = ::CreateSolidBrush(m_clr.blank);
423+
// if (m_hScrollerBackBrush == NULL)
424+
// m_hScrollerBackBrush = ::CreateSolidBrush(m_clr.blank);
425425

426426
if (m_hScroll)
427427
::MoveWindow(m_hScroll, x, y, w, h, TRUE);
@@ -661,8 +661,8 @@ INT_PTR CALLBACK NavDialog::run_dlgProc(UINT Message, WPARAM wParam, LPARAM lPar
661661
onPaint();
662662
break;
663663

664-
case WM_CTLCOLORSCROLLBAR:
665-
return (INT_PTR)m_hScrollerBackBrush;
664+
// case WM_CTLCOLORSCROLLBAR:
665+
// return (INT_PTR)m_hScrollerBackBrush;
666666

667667
case WM_LBUTTONDOWN:
668668
::SetCapture(_hSelf);

0 commit comments

Comments
 (0)