GUI/GadgetWindow.cs
changeset 202 551243a66b32
parent 183 3096735e99b2
child 208 08635c9dac04
     1.1 --- a/GUI/GadgetWindow.cs	Thu Sep 30 16:51:09 2010 +0000
     1.2 +++ b/GUI/GadgetWindow.cs	Thu Sep 30 20:59:21 2010 +0000
     1.3 @@ -1,4 +1,4 @@
     1.4 -/*
     1.5 +/*
     1.6    
     1.7    Version: MPL 1.1/GPL 2.0/LGPL 2.1
     1.8  
     1.9 @@ -69,7 +69,7 @@
    1.10        // prevent window from fading to a glass sheet when peek is invoked
    1.11        try {
    1.12          bool value = true;
    1.13 -        int r = NativeMethods.DwmSetWindowAttribute(Handle,
    1.14 +        NativeMethods.DwmSetWindowAttribute(Handle,
    1.15            WindowAttribute.DWMWA_EXCLUDED_FROM_PEEK, ref value,
    1.16            Marshal.SizeOf(value));
    1.17        } catch (DllNotFoundException) { } catch (EntryPointNotFoundException) { }