From 947fded387edf4ad0173c9959179b62c014cc1a2 Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Mon, 25 Feb 2019 16:09:00 +0100 Subject: [PATCH] ClassicExplorer: Use proper theme color to display full path Fixes #147. --- Src/ClassicExplorer/ExplorerBHO.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Src/ClassicExplorer/ExplorerBHO.cpp b/Src/ClassicExplorer/ExplorerBHO.cpp index 7f78b7d..9448d8e 100644 --- a/Src/ClassicExplorer/ExplorerBHO.cpp +++ b/Src/ClassicExplorer/ExplorerBHO.cpp @@ -792,8 +792,8 @@ LRESULT CALLBACK CExplorerBHO::SubclassBreadcrumbProc( HWND hWnd, UINT uMsg, WPA BOOL dwm; if (theme && SUCCEEDED(DwmIsCompositionEnabled(&dwm)) && dwm) { - DTTOPTS opts={sizeof(opts),DTT_COMPOSITED|DTT_TEXTCOLOR}; - opts.crText=GetSysColor(COLOR_WINDOWTEXT); + DTTOPTS opts={sizeof(opts),DTT_COMPOSITED|DTT_COLORPROP}; + opts.iColorPropId = COLOR_WINDOWTEXT; DrawThemeTextEx(theme,hdcPaint,0,0,pThis->m_CurPath,-1,DT_NOPREFIX|DT_VCENTER|DT_SINGLELINE,&rc,&opts); } else