Can anyone give an example of using the MSAA in order to get the caret position (text insertion point and not the cursor).
Thanks for any help,
Momico
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Caret tracking using MSAA can be achieved by using WinEventHook mechanism, and watching for the following events: EVENT_OBJECT_CREATE, EVENT_OBJECT_DESTROY, EVENT_OBJECT_SHOW, EVENT_OBJECT_HIDE, EVENT_OBJECT_LOCATIONCHANGE.
For further explanation and example visit the following links:
Explains the use of WinEventHook
SetWinEventHook (with example)
Thx,
Momico.