Krypton-Suite / Standard-Toolkit

An update to Component factory's krypton toolkit to support .NET Framework 4.6.2 - 4.8.1 to .NET 8 - 9
BSD 3-Clause "New" or "Revised" License
418 stars 63 forks source link

[Feature Request]: Implement "Overlay Icons" on Form Task bar images #1214

Open Smurf-IV opened 12 months ago

Smurf-IV commented 12 months ago

Once overlay images are done for the KryptonToolkit Items, #1205 Then also implement them for Form Icons in the task bar

https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nf-shobjidl_core-itaskbarlist3-setoverlayicon

https://docs.devexpress.com/WPF/DevExpress.Mvvm.UI.TaskbarButtonService.OverlayIcon

https://docs.telerik.com/devtools/winforms/controls/taskbar-button/features/overlay-icon

https://docs.devexpress.com/WindowsForms/DevExpress.Utils.Taskbar.TaskbarAssistant.OverlayIcon

Let the App dev do it the same way as showing Taskbar progress: https://www.codeproject.com/Articles/37451/Display-Progress-and-Overlay-Icons-for-Multiple-Vi

But those things are overkill. I think it could be as simple as replacing the winform icon with another that has the Overlay "Added / blended"; then lets windows do it's thing normally ;-), and then this will also have the "overlay" in the open app form as well ;-)

The position of the Overlay has to be programmable (Designer!), because some icons already have a lower Right indicator: image

PWagner1 commented 4 months ago

Hi @Smurf-IV

Should this be in V100, as it might be a new API?

Smurf-IV commented 4 months ago

I classed it as a "Missing winform catchup" feature, but I could be mistaken. Moving anyway..