Where do the systray items come from?
Posted on 2004-09-26
I've been trying to figure out how to obtain a list of tasks including icon, name, and parent process that reside in the systray from VB6 and am at a loss 8^(
The easiest wat to explain what I want to do is if for example I wanted to make my own systray replacement, that would when run include the current list of items, and also poll periodically to see if any have been closed or new ones opened, as well as access to the ContextMenu to be able to access the parent process from the Icon
I took a look at SHNotifyIcon, and all you can do is Add, Modify and Delete an Icon of your own. There seems to be no easy way to access tray icons from other applications
Obviously I'd rather have a nice clean OS friendly method, but any hacky kludge will do ;^) as long as it gets the job done. I can always then dissect it and clean it up (possibly...)
Seems to be quite a difficult task, so I'm offering 250 points for a result
Thanks in advance