The code is at https://github.com/microsoft/PowerToys/blob/main/src/runner/tray_icon.cpp
It uses Shell_NotifyIcon api
I had done a simplified sample in C#/WinUI 3 : WinUI3_NotifyIcon
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have an app idea in mind that would greatly fit the MS PowerToys interface.
I need some skeleton code that replicates how when you click the icon, a small window pops out just above it.
There is a git hub repo for it (https://github.com/microsoft/PowerToys) but I am fairly new to .NET and C# so I am unable to find the bits I need.
The code is at https://github.com/microsoft/PowerToys/blob/main/src/runner/tray_icon.cpp
It uses Shell_NotifyIcon api
I had done a simplified sample in C#/WinUI 3 : WinUI3_NotifyIcon