开发者

How do i retrieve Windows user preference value for Hyperlink colour? [closed]

开发者 https://www.devze.com 2023-03-29 18:38 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so 开发者_StackOverflowthat it can be reopened, visit the help center. Closed 11 years ago.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消