Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Retrieving Aero Glass base color for opaque surface rendering

03 Jul 2010   #1

Windows 7 Ultimate - 64-bit | Windows 8 Pro - 64-bit
 
 
Retrieving Aero Glass base color for opaque surface rendering

Quote:
From time to time, Long Zheng asks me to augment MetroTwit with some obscure low-level Windows feature. Given that’s where I like to dwell, it’s a good fit for me. My latest task was to implement smarts into the MetroTwit header pane that picked up the user’s current Aero Glass color. DwmGetColorizationColor immediately popped into mind and I was done an hour later. Of course, things weren’t working very well…

According to MSDN, DwmGetColorizationColor returns a color “used for Desktop Window Manager glass composition” and a boolean that simply indicates whether or not transparency is involved. The notable keyword here is composition. In the simplest scenario, a user uses a non-transparent color. This value simply gets passed to your application and everything Just Works™. In the real world, however (where transparency is turned on), things get a little trickier. The transparency toggle dutifully instructs the Desktop Window Manager to do all kinds of glass-like math-heavy nerd stuff to the base color. In this scenario, the returned color value is less useful.
More...


My System SpecsSystem Spec
.

Reply

 Retrieving Aero Glass base color for opaque surface rendering




Thread Tools



Similar help and support threads for2: Retrieving Aero Glass base color for opaque surface rendering
Thread Forum
Solved aero color full glass problem in custom theme.with minimize popup. Themes and Styles
How do I change the Aero glass look? Customization
Solved Aero without glass Customization
What is aero glass remoting General Discussion
Aero glass problem Graphic Cards
Aero and Glass effect Customization
Cycle Aero Glass color in windows 7? Customization

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 12:14 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33