get text(word) at mouse cursor from any program
Posted on 2003-11-04
Question: how to get text (just simple word) where the mouse cursor is, if it is possible?
For example the user moves mouse cursor anywhere in any windows application, presses some keys combination (shift+ctrl+a or other), then my application must get text at the mouse cursor. I need this to do a translation of that text or word, and possible to show a hint for that text o displaying translated message in some window on top.
I know that there is such possibility. But I don't know where to start from. If it is too complicated plesase give some ideas where to start from. Thanks.