create desktop alert

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I'm just starting out with VBA in Outlook, but, is there any way to create a
desktop alert, similar to the one that pops up when new mail comes in?
 
I started working on a UserForm for this, but, is there any way to make it
act like the desktop alert, where it will appear (without taking focus) and
then disappear after a set amount of time?
 
You can close it by using a timer. Here's a sample for the timer:
http://www.vboffice.net/sample.html?mnu=2&lang=en&smp=4&cmd=showitem&pub=6

Not sure if this works but you might try to set the focus back to the
ActiveExplorer or ActiveInspector. Both have an Activate method.

If not Outlook but any other application has the focus before displaying
your UserForm then you're probably lost. A lot of Win32 API were necessary
to work around that; no stuff for beginners.

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook
Synchronize Color Categories & Ensure that Every Item Gets Categorized:
<http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6>

Am Wed, 7 Nov 2007 17:05:00 -0800 schrieb bzuerlein:
 
Back
Top