Krypton-Suite / Standard-Toolkit

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

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

Open Smurf-IV opened 7 months ago

Smurf-IV commented 7 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

Wagnerp commented 2 weeks ago

Hi @Smurf-IV

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

Smurf-IV commented 2 weeks ago

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