相关疑难解决方法(0)

Vista/7: How to get glass color?

How do you use DwmGetColorizationColor?

The documentation says it returns two values:

  • a 32-bit 0xAARRGGBB containing the color used for glass composition
  • a boolean parameter that is true "if the color is an opaque blend" (whatever that means)

Here's a color that i like, a nice puke green: 替代文字

You can notice the color is greeny, and the translucent title bar (against a white background) shows the snot color very clearly: 在此输入图像描述

i try to get the color from …

winapi aero dwm user-preferences

53
推荐指数
2
解决办法
6917
查看次数

获取Windows 8自动颜色主题的活动颜色

在Windows 8中,我将颜色方案设置为自动,并将我的壁纸配置为在x分钟后更改.配色方案根据活动壁纸而变化.

我正在开发一个WPF应用程序,并希望在Windows更改颜色方案以匹配当前壁纸时更改渐变.

有没有办法获得当前/实际的配色方案并被告知C#的变化?

.net c# wpf winapi windows-8

21
推荐指数
2
解决办法
9287
查看次数

标签 统计

winapi ×2

.net ×1

aero ×1

c# ×1

dwm ×1

user-preferences ×1

windows-8 ×1

wpf ×1