Windows 10/11 modern Way of putting apps in Tray ?
Hi , i am making a C# WPF app for performance boost , one of the features i am working on is closing a selected number of tray apps when a game is opened and opening them again when games closed , but i couldn't figure out how to get what's on the tray , tried multiple ways but all i managed to get is background processes (all of em) , is there anyone here that knows how windows 10/11 put apps in tray (in the overflow arrow) ? how to extract it in C# ?
6 Replies
hmm, interesting
what do you want for it? is that all you want?
Super User
Where is the Icon Tray (notification area) registry stored?
I'm in need to know where the position and order of the Icons from the System Tray are stored. (notification area)
I'm talking about these ones:
I've been trying to go through some reg files and m...
https://libraries.io/nuget/H.NotifyIcon
My app utilizes this taskbaricon
Finally if you’re trying to tweak the layout find Shell_TrayWnd window.
Only way to tweet it is probably using power shell. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer

Look at this too
https://github.com/satnix/Windows11
GitHub
GitHub - satnix/Windows11: Windows 11 Scripts
Windows 11 Scripts. Contribute to satnix/Windows11 development by creating an account on GitHub.
thanks for the ideas , but i think i found the best way to do it , i will share soon when i verify it works 100%.