Detect Aero Glass using Delphi (via The Road to Delphi – a Blog About Delphi Programming (mostly))

Issue that has been Troubling SEDev Patch Studio 1.2 for a long time ( since version 1.0.4.10 ).

Maybe you, dear reader, can give straight answer – why it is so … ?

To detect if Aero Glass is enabled we must use the DwmIsCompositionEnabled function. See this example

[/sourcecode]

program DetectAeroDelphi; {$APPTYPE CONSOLE} //Author Rodrigo Ruz 2009-10-26 uses Windows, SysUtils; function ISAeroEnabled: Boolean; type _DwmIsCompositionEnabledFunc = function(var IsEnabled: Boolean): HRESULT; stdcall; var Flag : Boolean; DllHandle : THandle; OsVersion : TOSVersionInfo; DwmIsCom … Read More

via The Road to Delphi – a Blog About Delphi Programming (mostly)

Advertisements

About linardsliepins

Homo Sapiens
This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Detect Aero Glass using Delphi (via The Road to Delphi – a Blog About Delphi Programming (mostly))

  1. Pingback: Delphi Glass | Negociador

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s