Toogle Desktop Alert active status?

  • Thread starter Thread starter G Lykos
  • Start date Start date
G

G Lykos

Greetings! Would like to add a button to Outlook 2003 tied to a VBA snippet
that would activate/inactivate the Desktop Alert function. This is so when
using my laptop to make presentations, I don't get messages popping up.
Would much prefer not to have to dig down through the layers of the Tools
menu to activate/deactivate the function. However, am not having much
success finding information about the related VBA hook(s).

Thanks in advance for any ideas.
George
 
That setting is stored in the registry. For Outlook 2003 it's at
HKCU\Software\Microsoft\Office\11.0\Outlook\Preferences\NewmailDesktopAlerts,
where 1 is an alert and 0 is no alert.

However, Outlook reads that value only on startup and when you change it in
the Options dialog it stores the change in memory as well as writing it out
to the registry. The only time it reads the registry for that is when it
starts up.
 
Back
Top