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 |
|
Dmitry Kostochko
Add-in Express team
Posts: 2887
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.
|
|
Fernando Madruga
Posts: 60
Joined: 2006-01-04
|
|