flat assembler
Message board for the users of flat assembler.

Index > Windows > Is our theme Aero?

Author
Thread Post new topic Reply to topic
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower 11 Jul 2007, 14:38
Somebody knows how to detect current destop's theme on Vista using рrogram methods through the open WinAPI?
Post 11 Jul 2007, 14:38
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
m



Joined: 28 Dec 2006
Posts: 304
Location: in
m 20 Jul 2007, 13:27
Gee.
No reply?
Post 20 Jul 2007, 13:27
View user's profile Send private message Reply with quote
Garthower



Joined: 21 Apr 2006
Posts: 158
Location: Ukraine
Garthower 20 Jul 2007, 14:23
Maybe Smile
But maybe anybody does not know a right answer on this question? Maybe, even developers of Vista Wink
Post 20 Jul 2007, 14:23
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid 20 Jul 2007, 18:06
sorry, but best i can aid you is to ask on MSDN...
Post 20 Jul 2007, 18:06
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
WytRaven



Joined: 08 Sep 2004
Posts: 45
Location: Canberra, Australia
WytRaven 25 Jul 2007, 02:51
dwmapi.dll

DwmIsCompositionEnabled(bool* bEnabled);

Checks that desktop is in 3D Hardware accelerated mode, which it would be if Aero is enabled. Will return true if Aero is enabled and false if it isn't via the referenced bool variable.
Post 25 Jul 2007, 02:51
View user's profile Send private message Reply with quote
vador



Joined: 12 Nov 2006
Posts: 68
Location: Madagascar
vador 25 Jul 2007, 07:56
at least MS included a native API to check for it. I was afraid all new features of Vista were only available by using the .NET SDK
Post 25 Jul 2007, 07:56
View user's profile Send private message Reply with quote
WytRaven



Joined: 08 Sep 2004
Posts: 45
Location: Canberra, Australia
WytRaven 25 Jul 2007, 12:02
vador wrote:
at least MS included a native API to check for it. I was afraid all new features of Vista were only available by using the .NET SDK


Although I have posted this to these forums once already it would seem appropriate to post it again here as it is most certainly relevant to the discussion.

Here's a link to an article I wrote for codeproject.com on a few things I have discovered about Vista and unmanaged programming.

Unmanaged Vista Power

You may find this interesting reading vador. Although example code is in C, everything there could be done just as easily in Assembly.

Unfortunately work commitments have more or less halted my experiments with this stuff for the time being I certainly hope to be able to get back into it soon and see just what cool stuff I can do with the new hardware accelerated desktop.

_________________
All your opcodes are belong to us
Post 25 Jul 2007, 12:02
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.