Apache Monitor's tray code does not notify Windows to remove it from the
tray when the process is destroyed. Just needed to add a call to remove
the tray icon before PostQuitMessage(0).
Index: ApacheMonitor.c
===================================================================
RCS file: /home/cvspublic/httpd-2.0/support/win32/ApacheMonitor.c,v
retrieving revision 1.2
diff -u -r1.2 ApacheMonitor.c
--- ApacheMonitor.c 2001/08/07 19:54:10 1.2
+++ ApacheMonitor.c 2001/08/08 00:34:47
@@ -1440,6 +1440,7 @@
SetFocus(ap_hwndAboutDlg);
break;
case IDM_EXIT:
+ ShowNotifyIcon(hWnd, NIM_DELETE);
PostQuitMessage(0);
return TRUE;
break;
--
Jerry Baker
PGP Key: http://www.jerrybaker.org/pgp.html
LAME MP3 Encoder Binaries: http://www.jerrybaker.org/lame/
Apache 2.0 Web server Installer: http://www.jerrybaker.org/apache/