Is there any api or something that we make sure, Glass effect is already actived? In some codes that i saw, if DllNotFoundException
throws, then they make sure it's not active or not exists. is there a better or standard way?
This is the solution for Using Aero Effect to extend glass area in WPF.
On this MSDN page it suggests you can detect Glass using DwmIsCompositionEnabled:
However I'm not sure whether you can "Enable Aero" but "Disable Glass" and if so, what the result of the method would be.