Word 2007 Event Handling

D

Daniel

Hi,
Is there any way to handle the event when user starts typing
text in word document? or when a new word was created?

I'm writing an add-in which sync 2 words on different machines
over Internet.

What's API I can use for it?

Thanks!
 
T

Tony Jollans

There is no Word event that does this. The closest you can get without using
Windows key hooking is the Application SelectionChange event - which
probably wouldn't be close enough for what you suggest.
 
D

David Thielen

And SelectionChange does not fire on typing in letters. We have this
same requirement and never found a great way to solve this. It is
weird it doesn't fire as the selection point chages as you type - but
it doesn't fire and that's it.

- dave

There is no Word event that does this. The closest you can get without using
Windows key hooking is the Application SelectionChange event - which
probably wouldn't be close enough for what you suggest.


david@[email protected]
Windward Reports -- http://www.WindwardReports.com
me -- http://dave.thielen.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
T

Tony Jollans

I don't know how they do it for sure but, as I said, key hooking can be done
in Windows, although that looks like it would need a lot more than that
unless it imposes constraints on what the users can do. There are probably
people here who can give you better information - I don't know enough to do
so myself, although it does look interesting enough for me to find out a bit
more if I can.
 

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