GetImmersiveColorTypeFromName(Marshal. In the Windows Api and GDI, you can use the default window background color for drawing buttons and stuff (that slight greyish color on Win98, WinXP + Classic Theme etc. (uint)GetImmersiveUserColorSetPreference(false, false), It doesn't impact usage, just looks a little off in places that expect the default theme to be in use. And as you'll see, some graphics don't really 'fit' right with it. It's on everyone's PC's but just not shown to use. Var colorSetEx = GetImmersiveColorFromColorSetEx( This 'lite' theme was originally used in Windows 8's server family of systems, and has no transparency and higher contrast. Public static extern int GetImmersiveUserColorSetPreference(bool bForceCheckRegistry, bool bSkipCheckOnFail) Public static extern uint GetImmersiveColorTypeFromName(IntPtr pName) Each one had a different color scheme, sounds, screen saver, wallpaper image. Public static extern uint GetImmersiveColorFromColorSetEx(uint dwImmersiveColorSet, uint dwImmersiveColorType, bool bIgnoreHighContrast, uint dwHighContrastCacheMode) One of most popular features in Microsoft Plus 98 were the Desktop Themes, which provided a number of topical themes. 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
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |