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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top