View Single Post
  #5  
Old May 14th 08, 02:47 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 3,404
Default Reading content of reading pane

I'm not sure it would work, and things would depend on what format the
message was in, but if it's an HTML message you can get HTMLBody and then
work with the HTMLDocument object to try to find the selection. Word
wouldn't help since the item wouldn't be displayed using WordMail.

Redemption (www.dimastr.com/redemption) might help if you get the item and
use GetInspector to get an Inspector object for it and then get a
Redemption.SafeInspector for the Inspector. Then you might be able to use
the SafeInspector.SelText property to return the selected text.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


wrote in message
...
Hi Ken

Thanks for replying

My next question is as follows

If I select some text in reading pane how do I get that.

After I get that text I want to attach a context menu to this
selected
text


How can I do that. Please guide me on this.


Ads
 

Botellas de vino - Pay Day Loans - Car Insurance - Mortgage - MPAA