R
Robert Davidson
I would like to find out whether the Outlook application (not one of its
child windows) has the focus.
I am able to do this in Word and Excel by calling the GetFocus API with the
Application.hwnd property.
Outlook's Application object does not have an hwnd property - does anyone
know how to find out whether it has the focus?
I tried working around it by assigning OlActive = True during the Activate
event of the ActiveExplorer and OlActive = False during the Deactivate
event, but those events trigger whenever an item has focus, not only when
the pplication has focues.
Best Regards,
Robert Davidson
child windows) has the focus.
I am able to do this in Word and Excel by calling the GetFocus API with the
Application.hwnd property.
Outlook's Application object does not have an hwnd property - does anyone
know how to find out whether it has the focus?
I tried working around it by assigning OlActive = True during the Activate
event of the ActiveExplorer and OlActive = False during the Deactivate
event, but those events trigger whenever an item has focus, not only when
the pplication has focues.
Best Regards,
Robert Davidson