Hi,

I've got another "newbie" question about Windows programming.

I wrote a nice Win32::GUI program that launches itself from the Startup
folder into the system tray, using NotifyIcon, and then pops open by
clicking on it, etc.

However, I don't know how to make the program cooperate with Windows
Shutdown.  Without any special (event?) handling, when I initiate a
shutdown from the start menu (in Win98, at least) I get a dialog box
informing me that I must shut this program down before I can shut down
windows.  And then, when I click OK to that, I get another informing me
that Windows doesn't know how to shut down this program, do I want to
Wait, End Task, or Cancel?.   So I pressed End Task and it shutdown, but
clearly that isn't the right process.

The right process would not include either dialog box.  How do I get rid
of them?

--
Glenn
=====
Even if you're on the right track,
you'll get run over if you just sit there.
                       -- Will Rogers



Reply via email to