开发者

How to find a hidden icon in system tray using FindWindowEx or a similar function?

Is it possible to find a window by class using Fi开发者_如何学PythonndWindowsEx 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜