Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get the tray icons

Tags:

c#

I am making my own taskbar which will replace the default windows one. How do I get a list of everything that is in the system tray (notification area)?

like image 821
alex Avatar asked Nov 01 '25 16:11

alex


1 Answers

FindWindow with the classname Shell_TrayWnd can get you this information. Here are two sample C++ projects

http://skyscraper.fortunecity.com/gigo/311/winprog/shellico.txt

http://www.codeproject.com/KB/applications/ShellTrayInfo.aspx

like image 147
Bob Avatar answered Nov 04 '25 05:11

Bob



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!