Jump to content

[Suggestion] Provide AccentColor for Effect and FileType dialogs


midora

Recommended Posts

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:

 

image.png.906adec3ebaa355dc9fd61e86f4cab8c.png

 

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);

midoras signature.gif

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...