Applying Windows colorscheme to controls
-
Hi, Would like to apply colors (BG Color, FG color & Font Color) of selected windows ColorScheme for windows controls. Currently reading the ColorSchme vaues from registry by using Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Control Panel").OpenSubKey("Appearance").OpenSubKey("Schemes") This will return the Scheme values…..e.g. Brick, Arizona etc…. I would like to get the color values for windows controls for the selected colorscheme. Can anybody help in this? Thanks, RK
-
Hi, Would like to apply colors (BG Color, FG color & Font Color) of selected windows ColorScheme for windows controls. Currently reading the ColorSchme vaues from registry by using Microsoft.Win32.Registry.CurrentUser.OpenSubKey("Control Panel").OpenSubKey("Appearance").OpenSubKey("Schemes") This will return the Scheme values…..e.g. Brick, Arizona etc…. I would like to get the color values for windows controls for the selected colorscheme. Can anybody help in this? Thanks, RK
Hi, RK. I think System.Drawing.SystemColors class can help you.