Change windows 8 color scheme

broken image

GetImmersiveColorTypeFromName(Marshal.

broken image

In the search box, type window color Click Change the theme Under Basic and High Contrast Themes, click a high. (uint)GetImmersiveUserColorSetPreference(false, false), Click the Start button Go to Control Panel. Var colorSetEx = GetImmersiveColorFromColorSetEx( Public static extern int GetImmersiveUserColorSetPreference(bool bForceCheckRegistry, bool bSkipCheckOnFail)

broken image

Public static extern uint GetImmersiveColorTypeFromName(IntPtr pName) Public static extern uint GetImmersiveColorFromColorSetEx(uint dwImmersiveColorSet, uint dwImmersiveColorType, bool bIgnoreHighContrast, uint dwHighContrastCacheMode) This is an example i have created, also based on the link that Hans Passant posted above.Īnother similar approach can be found on GitHub see AccentColorService public class ThemeInfo