Exemplo n.º 1
0
 public static int SetWindowThemeNonClientAttributes(IntPtr hwnd,
     WindowThemeNonClientAttributes mask, WindowThemeNonClientAttributes attributes)
 {
     var opt = new WTA_OPTIONS {
         Flags = attributes,
         Mask = mask
     };
     return SetWindowThemeAttribute(hwnd, WindowThemeAttributeType.WTA_NONCLIENT,
         ref opt, (uint)Marshal.SizeOf(typeof(WTA_OPTIONS)));
 }
Exemplo n.º 2
0
        public static int SetWindowThemeNonClientAttributes(IntPtr hwnd,
                                                            WindowThemeNonClientAttributes mask, WindowThemeNonClientAttributes attributes)
        {
            var opt = new WTA_OPTIONS {
                Flags = attributes,
                Mask  = mask
            };

            return(SetWindowThemeAttribute(hwnd, WindowThemeAttributeType.WTA_NONCLIENT,
                                           ref opt, (uint)Marshal.SizeOf(typeof(WTA_OPTIONS))));
        }
Exemplo n.º 3
0
 public static extern int SetWindowThemeAttribute(IntPtr hWnd,
     WindowThemeAttributeType wtype, ref WTA_OPTIONS attributes, uint size);
Exemplo n.º 4
0
 public static extern int SetWindowThemeAttribute(IntPtr hWnd,
                                                  WindowThemeAttributeType wtype, ref WTA_OPTIONS attributes, uint size);