midora Posted November 28, 2021 Share Posted November 28, 2021 I'm using the AccentColor of Windows 10 in my dialogs to highlight several states. This works fine if the user selects the color scheme setting 'default' but not always in the other cases. Adding an AccentColor property to the dialog would help. paint.net could then set BackColor, ForeColor, and AccentColor of the dialog. Here a screenshot of a preview dialog: BTW: In the moment I'm getting the AccentColor from the registry (if available) var rk = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\Microsoft\Windows\DWM"); var abgr = rk.GetValue("AccentColor"); var color = Color.FromArgb((int)abgr); accentColor = Color.FromArgb(color.A, color.B, color.G, color.R); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.