comctl32: Not visited links use HotTrackingColor for the text.
Francois Gouget
fgouget at codeweavers.com
Thu Sep 22 09:53:31 CDT 2011
This makes it possible to differentiate visited links from the others.
---
Determined on Windows via experimentation with the registry and an
application showing a link in a SysLink control.
dlls/comctl32/syslink.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/syslink.c b/dlls/comctl32/syslink.c
index c13267e..01d638c 100644
--- a/dlls/comctl32/syslink.c
+++ b/dlls/comctl32/syslink.c
@@ -1752,7 +1752,7 @@ static LRESULT WINAPI SysLinkWindowProc(HWND hwnd, UINT message,
infoPtr->HasFocus = FALSE;
infoPtr->MouseDownID = -1;
infoPtr->TextColor = comctl32_color.clrWindowText;
- infoPtr->LinkColor = comctl32_color.clrHighlight;
+ infoPtr->LinkColor = comctl32_color.clrHotTrackingColor;
infoPtr->VisitedColor = comctl32_color.clrHighlight;
infoPtr->BackColor = infoPtr->Style & LWS_TRANSPARENT ?
comctl32_color.clrWindow : comctl32_color.clrBtnFace;
--
1.7.5.4
More information about the wine-patches
mailing list