Is it possible to find a window by class using FindWindowsEx if it’s currently hidden in the system tray? Looking for children of ToolbarWindow32 works if the icon is not hidden, but what to do when it is?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Tray icons are not windows, you cannot find them with FindWindowsEx. You might find them with TB_GETBUTTON. The buck stops at trying to find hidden icons, they are just not there. Revealing hidden icons is implemented differently in different versions of Windows, but they are dynamically created when you reveal them. There is no API to enumerate them.