Replies: 2 comments
-
WInforms/WPF use Shell_NotifyIcon, which is the normal method and MS probably thinks it is not a priority, beause it is a few lines of code to add it in WinUI 3 (in C#, you can just copy the declarations and parts of code with Shell_NotifyIcon from WPF source code (NativeMethods.cs and NotifyIcon.cs) then add SetWindowSubclass for uCallbackMessage) |
Beta Was this translation helpful? Give feedback.
-
There are some samples on GitHub; I added another one by using an Owner-Drawn Context Menu, to add a bit of code, otherwise it is just a function call to add icon or notification... : WinUI3_NotifyIcon |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, I did not find any support for NotifyIcon in WinUI3. However it is supported in WinForm/WPF. Is there any plan from Microsoft to support this in near future?
Beta Was this translation helpful? Give feedback.
All reactions