Access to selected text in outlook explorer preview pane

N

NewCoder

I have a section of code that can get control via a button that I have added on an explorer command bar, ala ItemsCB. Everything works as expected. I can determine when the appropriate item is selected. When the selected item is an Inbox plain-text message, I want to access the text that is being shown in the preview pane. I want only the text that may have been highlighted by the user, not the entire message body. How could I do this?
 
K

Ken Slovak - [MVP - Outlook]

You can't. Even in an open item you can't access the selected text in
the Inspector unless you are using Word as your editor and use the
Word object model.




NewCoder said:
I have a section of code that can get control via a button that I
have added on an explorer command bar, ala ItemsCB. Everything works
as expected. I can determine when the appropriate item is selected.
When the selected item is an Inbox plain-text message, I want to
access the text that is being shown in the preview pane. I want only
the text that may have been highlighted by the user, not the entire
message body. How could I do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top