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.
--
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
"Spawn666948" wrote in message news:P6Pyg.204$oz.49@trnddc07...
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.
--