Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   Focus Change from Mailheader to body (http://www.outlookbanter.com/outlook-vba/100313-focus-change-mailheader-body.html)

Ria February 21st 10 12:45 PM

Focus Change from Mailheader to body
 
Does anyone know how to catch the event from an inspector window (mail
message compose window) when the cursor is placed into the mailheader?
If I change the cursor from the mailheader to the body of the message,
Microsoft does disable the builtin formatting buttons, the are reactivated
when the cursor gets back into the body of the message.
I wish to use this same event disable/enable my custom buttons in the ribbon.

Anyone has an idea how to accomplish this?

Michael Bauer [MVP - Outlook] February 22nd 10 09:46 AM

Focus Change from Mailheader to body
 


You might use a timer, and check at intervall what's enabled. Here's a
sample for an API timer:
http://www.vboffice.net/sample.html?...4&cmd=showitem

--
Best regards
Michael Bauer - MVP Outlook
Manage and share your categories:
http://www.vboffice.net/product.html?pub=6&lang=en


Am Sun, 21 Feb 2010 04:45:01 -0800 schrieb Ria:

Does anyone know how to catch the event from an inspector window (mail
message compose window) when the cursor is placed into the mailheader?
If I change the cursor from the mailheader to the body of the message,
Microsoft does disable the builtin formatting buttons, the are reactivated
when the cursor gets back into the body of the message.
I wish to use this same event disable/enable my custom buttons in the

ribbon.

Anyone has an idea how to accomplish this?



All times are GMT +1. The time now is 11:13 PM.

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