Someone know event to determine something are typed???

H

huh

User type some text on word, words counter(It exist on status bar) are
change dynamically. I'm making like this app.

If someones type some text on word, how can I know text are inputed? I want
to know user have typed something!!!

I try to find predefined event like 'AfterInsert', 'TextChanged' or
'KeyDown', but it's not exist in word 2007 apis. So, I use timer. It's so
bad. ;(

Anyone know event api, help me.

- Sorry poor my English. :)
 
J

Jonathan West

huh said:
User type some text on word, words counter(It exist on status bar) are
change dynamically. I'm making like this app.

If someones type some text on word, how can I know text are inputed? I
want
to know user have typed something!!!

I try to find predefined event like 'AfterInsert', 'TextChanged' or
'KeyDown', but it's not exist in word 2007 apis. So, I use timer. It's so
bad. ;(

Anyone know event api, help me.

Word doesn't have a keypress event unfortunately. So what you want is
impossible unless you can do some quite sophisticated programming to
intercept keystrokes before they reach Word. That is not going to be
possible within VBA.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
 
H

huh

Jonathan West said:
Word doesn't have a keypress event unfortunately. So what you want is
impossible unless you can do some quite sophisticated programming to
intercept keystrokes before they reach Word. That is not going to be
possible within VBA.


--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org

Thanks a lot.

I deside to use win32 hooking. :)
 

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