By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,958 Members | 1,165 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,958 IT Pros & Developers. It's quick & easy.

Accessing Another Application's System Tray Icon or Change Event

P: n/a

I am writing an application that wants to monitor another application's
state (on the same computer). This other application is a commercial
application and I do not have access to its source. The state of this other
application is clearly visible through its Notify icon in the system tray
which changes with the state change. I have following two questions with two
different approaches to this monitoring:

1. Is it possible to just grab an icon of another application from the
system tray and store in my own application for comparison with future icons
of this application? If so, how?

2. Is there an event that gets fired when an application changes its notify
icon? Is it possible for another application to hook onto this event handler?
If so, how?

Of course, the second method is preferred one since it consumes less system
resources. I would appreciate any guidance in this matter since I am
completely lost.

Vinay Agarwal
Nov 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.