• 0

Anyone using MetroTwit on Vista / 7?


Question

[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?

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.