AddIn Express VCL for Outlook question

Add-in Express™ Support Service
That's what is more important than anything else

AddIn Express VCL for Outlook question
 
Myles Wakeham


Guest


Question: With Add-In Express VCL, I'm trying to read the Body of an Outlook email that I have open in an Outlook form. I have a button installed on the mail form which works fine to execute my code.

I can read the Outlook email body, but what I really want is the ability to read any highlighted text in the Outlook email body that the user may be highlighting.

Is this possible? Is there a way that my Delphi code can detect what text of the Outlook email body has been highlighted?

Thanks in advance for any pointers.

Myles
Posted 12 Jan, 2006 19:10:55 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Myles,

Unfortunately the Outlook Object Model doesn't contain any methods to access the selected text in the e-mail body. But I think you can try to get the selected (highlighted) text using Windows API functions like EnumWindows, GetWindowText, etc.

Posted 13 Jan, 2006 07:57:34 Top
Fernando Madruga




Posts: 60
Joined: 2006-01-04

You can also give http://www.dimastr.com/redemption/ a try...
Posted 13 Jan, 2006 19:09:46 Top