mirror of
https://github.com/Open-Shell/Open-Shell-Menu.git
synced 2026-04-22 19:10:22 +10:00
ClassicExplorer: Use proper theme color to display full path
Fixes #147.
This commit is contained in:
@@ -792,8 +792,8 @@ LRESULT CALLBACK CExplorerBHO::SubclassBreadcrumbProc( HWND hWnd, UINT uMsg, WPA
|
|||||||
BOOL dwm;
|
BOOL dwm;
|
||||||
if (theme && SUCCEEDED(DwmIsCompositionEnabled(&dwm)) && dwm)
|
if (theme && SUCCEEDED(DwmIsCompositionEnabled(&dwm)) && dwm)
|
||||||
{
|
{
|
||||||
DTTOPTS opts={sizeof(opts),DTT_COMPOSITED|DTT_TEXTCOLOR};
|
DTTOPTS opts={sizeof(opts),DTT_COMPOSITED|DTT_COLORPROP};
|
||||||
opts.crText=GetSysColor(COLOR_WINDOWTEXT);
|
opts.iColorPropId = COLOR_WINDOWTEXT;
|
||||||
DrawThemeTextEx(theme,hdcPaint,0,0,pThis->m_CurPath,-1,DT_NOPREFIX|DT_VCENTER|DT_SINGLELINE,&rc,&opts);
|
DrawThemeTextEx(theme,hdcPaint,0,0,pThis->m_CurPath,-1,DT_NOPREFIX|DT_VCENTER|DT_SINGLELINE,&rc,&opts);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user