Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   create desktop alert (http://www.outlookbanter.com/outlook-vba/60567-create-desktop-alert.html)

bzuerlein November 5th 07 06:33 PM

create desktop alert
 
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?

Michael Bauer [MVP - Outlook] November 6th 07 06:40 AM

create desktop alert
 


In principle, yes. You might add a UserForm to your project and show that
with:

UserForm.Show False

--
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 Mon, 5 Nov 2007 10:33:01 -0800 schrieb bzuerlein:

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?


bzuerlein November 8th 07 01:05 AM

create desktop alert
 
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?

"Michael Bauer [MVP - Outlook]" wrote:



In principle, yes. You might add a UserForm to your project and show that
with:

UserForm.Show False

--
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 Mon, 5 Nov 2007 10:33:01 -0800 schrieb bzuerlein:

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?



Michael Bauer [MVP - Outlook] November 9th 07 07:09 AM

create desktop alert
 


You can close it by using a timer. Here's a sample for the timer:
http://www.vboffice.net/sample.html?...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:

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?

"Michael Bauer [MVP - Outlook]" wrote:



In principle, yes. You might add a UserForm to your project and show that
with:

UserForm.Show False

--
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 Mon, 5 Nov 2007 10:33:01 -0800 schrieb bzuerlein:

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?




All times are GMT +1. The time now is 10:40 AM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com