Sign in to follow this  
Followers 0
elenarie

Anyone using MetroTwit on Vista / 7?

2 posts in this topic

[cry] Big post gone because the forum's code decided to crap things up. [/cry]

 

So, lets keep it short this time. Sorry for the badly written post, really got ###### off that the whole page crashed for some dumb reason when I was trying to modify the <> code blocks.

 

It seems that one cannot get the correct window colour on Windows 8.1 using the simple SystemColors.WindowColorKey access. It always returns white on 8.1, leading me to believe that this part of the OS is a bit broken, since my windows are currently orange and not white. Accessing it like this currently in my WPF app:

Background="{DynamicResource {x:Static SystemColors.WindowColorKey}}

Could someone please go into Settings -> Display and change the theme colour to match the Aero theme colour? What do you get then, the appropriate colour of your windows / frames, or just pure white?

 

EDIT: I've tried ALL of the SystemColors and none of them seem to return the appropriate colour. It looks like this may be a bug due to the removal of Aero?

Share this post


Link to post
Share on other sites

Managed to get this working properly by importing the dwmapi.dll and then using the DwmGetColorizationColor method.

 

Still, would really appreciate it if someone could confirm that the problem in the first post is real.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.