Systray Icon during a MS OUTLOOK VBA macro.

R

Rodryg

Hi,

Is there any way to display a systray icon only during the execution of a
particular process (MS OUTLOOK VBA macro).

For example, I'd like to delete old Emails in my Inbox (older than today - 5
days) and during this process, display a systray Icon. Then, when done,
unload this icon from the systray.

Thanks
 
K

Ken Slovak - [MVP - Outlook]

A system tray icon is displayed by handling a callback message from Windows
and it has to use that callback to handle mouse clicks. Usually in VB or VBA
you would place the callback code in a code module and the handler in a form
or class module. There's an example of using callbacks for message handling
on the mvps.org Web site, in one of the VB 6 sites, or you can Google for
links to callback handlers. It's not trivial to understand what's going on
and to modify the sample codes for your needs, BTW.
 

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