API function GetCaretPos

L

Lior

Hi There ,

We're a software company that innovate applications for disabled people ,
We need to built an application that one of the feature need to track the
caret (keyboard pointer).
In other words, we need to know the pixel based coordinates of the caret at
any given time.

We succeeded in writing a preliminary prototype that "knows"

where the caret is at any active window in the system (also within windows
that are not in our process).

We did that by using the API function GetCaretPos in a DLL based keyboard
hook.



When we tested our solution , it does not work on Microsoft Word 97,2000,
XP – meaning that the function

returned fixed coordinates with no dependency to the real position of the
caret.

However, when we tested it on Microsoft Word 2003 ,

It did work fine. Yet, we couldn't find a reasonable explanation for that.



Microsoft Word 97,2000,XP is a product that we must support since it is
widely being used by the

disabled people community. I'll thank you for any comment and help with this
problem.



Best Regards,



Lior.
 
M

[M.I.] Ester

Oh! [M.I.] Ester ha trovato una bottiglia con dentro un messaggio
inviato da *Lior*, che abita
all'indirizzo (e-mail address removed). C'è scritto:
Hi There ,

We're a software company that innovate applications for disabled
people , We need to built an application that one of the feature need
to track the caret (keyboard pointer).
In other words, we need to know the pixel based coordinates of the
caret at any given time.

Hello, this is an Italian Newsgroup.
Please post at microsoft.public.word


Bye

Ps. Crossposting is not a good idea! <eg>

--
*Ester Memoli* - MOSMI #13960

TIPS su Office: http://www.dotnethell.it/tips/default.aspx?CategoryID=3

[RIO - Risorse in Italiano per Office] - *La newsletter di it.office*
Per iscriverti invia "Richiesta it.office" a (e-mail address removed)
ATTENZIONE:Non è la mia email.Non usarla per scrivere in privato!!!
 

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