API GetCaretPos() can't get correct caret position in Word, why?

Joined
Aug 29, 2005
Messages
2
Reaction score
0
I use the API function GetCaretPos() in a DLL based keyboard hook, I want to get current caret position. It work well in NotePad, but it cannot work in Word 97,2000,XP or 2003 ! GetCaretPos() can return TRUE,but the caret position it got is not correct!

why? How can I resolve the problem?
 

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