MIDI-OX User Forum (http://www.midiox.com/cgi-bin/yabb/YaBB.pl)
MIDI-OX >> Wish List >> Restore tray icon on explorer.exe restart.
(Message started by: Maxim_Korobov on Dec 29th, 2008, 7:18am)

Title: Restore tray icon on explorer.exe restart.
Post by Maxim_Korobov on Dec 29th, 2008, 7:18am
Sometimes i kill explorer.exe process and run it again.
After that there is no icon in tray bar, but process MIDI-OX works fine.

Can MIDI-OX detect explorer.exe crash and estore tray icon on explorer.exe restart?

Title: Re: Restore tray icon on explorer.exe restart.
Post by Jamie OConnell on Jan 18th, 2009, 4:37pm
What happens if you minimize and restore MIDI-OX?  Does the icon come back?

Title: Re: Restore tray icon on explorer.exe restart.
Post by Maxim_Korobov on Jan 19th, 2009, 2:06am
I rarely use MIDI-OX with opened window, most of time it minimized. When it minimized and explorer restarted after crash, no more OX icon in the tray.

Title: Re: Restore tray icon on explorer.exe restart.
Post by Jamie OConnell on Jan 20th, 2009, 4:44pm
I see.  Well, I will look into it.  In the meantime you should be able to find it running in Task Manager.

Title: Re: Restore tray icon on explorer.exe restart.
Post by Maxim_Korobov on Jan 21st, 2009, 3:22am
When Explorer restarts, it notifies all top-level parent windows by
broadcasting a registered message - TaskbarCreated. Your application
should listen for this message and when it receives it, should re-create
your tray icon.

Delphi solution:
http://www.delphi3000.com/articles/article_2746.asp?SK=

Title: Re: Restore tray icon on explorer.exe restart.
Post by Jamie OConnell on Jan 28th, 2009, 8:39pm
I appreciate the info...



MIDI-OX User Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB © 2000-2003. All Rights Reserved.