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

Any way to get Windows to refresh the notify area?

P: n/a
I've a little piece of code that I sometimes need to use that kills a
running process when it stops responding. The process has a notification
icon that it displays in the system-tray area of the task bar. When its
process is killed, however, the icon stays in the system tray. The only way
to remove it is to move the mouse pointer over the top of it, at which point
the icon vanishes.

Is there any way (using the .NET framework or API calls) to get Windows to
refresh the notification area so that the orphaned icon will disappear on
its own?

TIA,

--

(O)enone
Feb 9 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Oenone" <oe****@nowhere.com> schrieb:
I've a little piece of code that I sometimes need to use that kills a
running process when it stops responding. The process has a notification
icon that it displays in the system-tray area of the task bar. When its
process is killed, however, the icon stays in the system tray. The only
way to remove it is to move the mouse pointer over the top of it, at which
point the icon vanishes.


VB6 sample (documented in German):

<URL:http://www.activevb.de/rubriken/ausschreibungen/03_07_28_systemtray/systemtray.html>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Feb 9 '06 #2

P: n/a
Herfried K. Wagner [MVP] wrote:
VB6 sample (documented in German):
<URL:http://www.activevb.de/rubriken/ausschreibungen/03_07_28_systemtray/systemtray.html>


Very very interesting, thanks for that Herfried! I'll get this converted
over to VS2005.

--

(O)enone

Feb 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.