问题
i'm attempting to get code to list of all icons visible in the notification area, to the left of the time. i've been experimenting with EnumDesktopWindows
and GetWindowLong
, without finding any way to single out the system tray icons. thanks!
回答1:
Use the accessibility interfaces to enumerate the children of User Promoted Notification Area
.
来源:https://stackoverflow.com/questions/3893360/how-to-acquire-list-of-notification-area-icons