문제

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.

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top