Jump to content



Photo

Anyone using MetroTwit on Vista / 7?


  • Please log in to reply
1 reply to this topic

#1 elenarie

elenarie

    Newbie .NET / game dev

  • Tech Issues Solved: 2
  • Joined: 23-March 14
  • OS: Windows 8.1 Pro x64
  • Phone: Lumia 920 Yellow

Posted 20 June 2014 - 03:33

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




#2 OP elenarie

elenarie

    Newbie .NET / game dev

  • Tech Issues Solved: 2
  • Joined: 23-March 14
  • OS: Windows 8.1 Pro x64
  • Phone: Lumia 920 Yellow

Posted 20 June 2014 - 05:02

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.