If the code below works as i expect it, then i think its fixable...
I am open to recommendations...
( source:
http://msdn.microsoft.com/en-us/library/aa969518(VS.85).aspx )
//Alexander Klimoff (http://netsources.narod.ru)
// See also MSDN Magazine April 2007
[DllImport("dwmapi.dll", PreserveSig = false)]
public static extern bool DwmIsCompositionEnabled();
// Check to see if composition is Enabled
if (DwmIsCompositionEnabled())
{
MessageBox.Show("Aero Glass enabled");
}
else
{
MessageBox.Show("Aero Glass disabled");
}