Taskbar icon different than Form Icon

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
This topic is 1 year and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
mattys
Posts: 62
Last visit: Wed Dec 27, 2023 8:28 am
Has voted: 3 times

Taskbar icon different than Form Icon

Post by mattys »

Is it possible to have enable a separate icon for the taskbar than the form icon?

Similar to MS Outlook when you get mail, the icon changes, or in MS Teams when a status changes.

Thank you in advance.
jvierra
Posts: 15439
Last visit: Tue Nov 21, 2023 6:37 pm
Answers: 30
Has voted: 4 times
Been upvoted: 33 times

Re: Taskbar icon different than Form Icon

Post by jvierra »

You would use a notification icon or programmatically change the icon which is not easy to do with PowerShell.

See: https://stackoverflow.com/questions/220 ... pplication
This topic is 1 year and 4 months old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked