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?
why? How can I resolve the problem?