Programmatically clear the system tray icon?

D

David E. Battey

Is it possible to clear the "envelope" system tray icon that appears when
new mail has arrived using VBA? If so, how?

Thanks,
David
 
D

David E. Battey

David E. Battey said:
Looks promising -- thanks.

However, I can't figure out a way to get the hWnd to pass to
RemoveNewMailIcon. How do I do this.

My mistake. Despite the comments in the code, I was calling KillNewMailIcon
instead of RemoveNewMailIcon.
 
Top