4

Windows has this little overlay that pops up when you change the volume

Windows 10 Volume Overlay

I'm implementing a similar notification overlay and I'd like to theme it consistently with this existing overlay without hard-coding magic values. Is there a way to access the colors, font, font color and/or positioning associated with this?

The music information appears to come from the Groove Music application and I'm not sure if that is exposed for user applications to leverage, but the volume bar is a system-wide thing that I would hope I'm able to get some basic information about.

Neither GetSysColor nor GetThemeSysColor appear to have any colors that match.

Adam
  • 1,122
  • 9
  • 21

1 Answers1

1

That music overlay/controller is available to store applications so maybe if you port your application to UWP with the Desktop Bridge you might be allowed to use it.

It would not surprise me if the source of these colors are related to the undocumented GetImmersiveColorFromColorSetEx function in uxtheme.dll.

You can see a list of some of the color names here.

Community
  • 1
  • 1
Anders
  • 97,548
  • 12
  • 110
  • 164