예제 #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)));
 }
예제 #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))));
        }
예제 #3
0
 public static extern int SetWindowThemeAttribute(IntPtr hWnd,
                                                  WindowThemeAttributeType wtype, ref WTA_OPTIONS attributes, uint size);
예제 #4
0
 public static extern int SetWindowThemeAttribute(IntPtr hWnd,
     WindowThemeAttributeType wtype, ref WTA_OPTIONS attributes, uint size);