How to Dynamically Change the Chromium Icon on the Windows Taskbar?

114 views
Skip to first unread message

Hover CHEN

unread,
Jan 16, 2025, 12:15:34 PMJan 16
to Chromium-dev

Hello Chromium Community,

I am developing an application based on Chromium, and I would like to dynamically change the application icon on the Windows taskbar. Specifically, I want to switch the icon based on the application's state or different operations during runtime.

Is there any way to achieve this through an API or other methods? If there are any relevant documents or example code, could you please share them?

Any help would be greatly appreciated!

Thank you!

1.png2.png

Anthony Vallee-Dubois

unread,
Jan 16, 2025, 3:07:05 PMJan 16
to hoverc...@gmail.com, Chromium-dev
On Windows, take a look at DrawTaskbarDecorationWin, UpdateApplicationBadge for mac. AFAICT the common, cross-platform entry point is BadgeManagerDelegate overrides.

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/1553fc72-d768-44bf-a69d-8f01bf629972n%40chromium.org.

Hover CHEN

unread,
Sep 2, 2025, 11:18:16 AM (3 days ago) Sep 2
to Chromium-dev, Anthony Vallee-Dubois, Chromium-dev, hoverc...@gmail.com
Thanks for your suggestion, I have implemented this feature
Reply all
Reply to author
Forward
0 new messages