Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / July 2006

Tip: Looking for answers? Try searching our database.

How to Force the Reminder Window to Pop-Up

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Spawn666948 - 29 Jul 2006 01:18 GMT
Hello

I want to force the Reminder Window to Pop-Up.  Currently, sometimes, it
only flashes the Taksbar; and sometimes it does pop-up.  If I'm not paying
attention or stepped away, I don't notice the reminder window.

In the Application_Reminder event, I tried doing an Item.Display, but that
only displays the actual Calendar/Item and not the Reminder Window.

Thanks.
Ken Slovak - [MVP - Outlook] - 29 Jul 2006 18:01 GMT
The reminder window has no hooks you can use to force it to pop-up unless
you trap Windows messages to it and intercept them. You'd have to use
something like SetWindowPos with a topmost argument for force the window
open and on top, assuming you can hook into those messages and get an hWnd
for the reminders window.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

> Hello
>
[quoted text clipped - 6 lines]
>
> Thanks.
Spawn666948 - 29 Jul 2006 20:59 GMT
I was afraid of that.  I was hoping it'd be something simple without having
to resort to APIs.

I have some code lying around that can enumerate windows.  When running the
code, I noticed the Reminders Window is there, just not displayed...waiting
to be triggered.  And, it doesn't have it's own class.  It just says "1
Reminders" in the caption and #32770 for the class.  But, digging into it's
child windows, there are more items that can help differentiate it from
other windows.  Given that, I can come up with hWnd of the Reminders Window.

I'll post some code up since I don't seem to be the only one wanting the
pop-up to be more persistent since we rely on it for meetings.

> The reminder window has no hooks you can use to force it to pop-up unless
> you trap Windows messages to it and intercept them. You'd have to use
[quoted text clipped - 12 lines]
>>
>> Thanks.
Ken Slovak - [MVP - Outlook] - 31 Jul 2006 14:08 GMT
The only problem is that with SetWindowPos at least an argument of HWND_TOP
doesn't seem to do much, HWND_TOPMOST has to be used (after calling
SetForegroundWindow of course) and that leaves the reminders window on top
all the time no matter what application or window is selected in the UI for
focus. You'll have to handle cases where other windows want to come to the
top of the z-order.

Signature

Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm

>I was afraid of that.  I was hoping it'd be something simple without having
>to resort to APIs.
[quoted text clipped - 11 lines]
>
> --
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.