How do i retrieve Windows user preference value for Hyperlink colour? [closed]
set in Appearance, overriden by theme(?) also i suspect this pref is newly introduced (6.0+?)
I'm not 100% sure this is what you mean, but I think you are referring to the GetSysColor setting for COLOR_HOTLIGHT. This is described as:
Color for a hyperlink or a hot-tracked item.
But as you observe, themed painting doesn't use these settings. The best way to match themed painting is to simply draw with the theme API and the appropriate color will be used.
精彩评论