How to the "edit text" or "text change" event?

F

FeiXing

I'm a new comer of Office add-ins. Now I want to know which event can
correspond to "edit text" operation. Further more, is there any basic
reference about Office add-ins programming available on internet which
contains the detail description of most events and elements.

BTW: I program with vc++/ATL
 
C

Cindy M -WordMVP-

Hi FeiXing,
I'm a new comer of Office add-ins. Now I want to know which event can
correspond to "edit text" operation. Further more, is there any basic
reference about Office add-ins programming available on internet which
contains the detail description of most events and elements.
If you don't specify which type of application you're writing the addin
for, it's going to be very difficult to off you any help. FWIW, there is
nothing corresponding to what you're looking for in the Word object
model.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 
F

FeiXing

I want to write an add-in based on word2003. It needs to capture the event
of editting text in MSword. After capturing the event, the add-in trys to
analysis the current input and give appropriate suggestion to user(similar
to the function in vs.net: input a name of object and then input '.', the
corresponding members of this object will be displayed).

Now I don't know how to capture this event.

Thanks very much!
 
C

Cindy M -WordMVP-

Hi FeiXing,
I want to write an add-in based on word2003. It needs to capture the event
of editting text in MSword. After capturing the event, the add-in trys to
analysis the current input and give appropriate suggestion to user(similar
to the function in vs.net: input a name of object and then input '.', the
corresponding members of this object will be displayed).

Now I don't know how to capture this event.
There is no way to capture when/what the user is typing in Word.

Given Word 2003, the closest you could manage would be a SmartDocument
project. You'll find more on SmartDocuments on the msdn site at
microsoft.com. Basically, you insert XML tags into a document, write a DLL
that will react to the presences of the insertion mark within specific tags,
and display information in the Actions task pane.

This is very similar to what VSTO 2005 will be able to do, but much more
complicated to set up. OTOH, you can create the DLL with VB6 or Delphi or
something like that, you're not limited to a .NET Framework language.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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