current cursor position in the reply event

  • Thread starter TmFnYXJhag
  • Start date Views 2,797
T

TmFnYXJhag

what is the c# code to know current cursor position in the reply event.

Thanks

Nagaraj Tadipatri
 
K

Ken Slovak - [MVP - Outlook]

Always post your Outlook version.

If this is Outlook 2007 all emails use WordMail. Inspector.WordEditor is a

Word.Document object. You'd use the Word object model to find the cursor

position.

For earlier versions if WordMail is being used you'd use the same method. If

it's an HTML email you'd get the Inspector.HTMLEditor object which is an

IHTMLDocument object, then you'd use the methods of that object. For Plain

Text it's not exposed unless you use a 3rd party library such as Redemption

(www.dimastr.com/redemption).

"Nagaraj" <nagaraj.tadipatri@gmail.com> wrote in message

news:D5D6F039-F606-49FB-A2A9-660ED9195595@microsoft.com...
> what is the c# code to know current cursor position in the reply event.

> Thanks

> > Nagaraj Tadipatri
 

Similar threads

Top