Reading words from other windows

Hi,

I came across a dictionary program that runs in the system tray. When you press ctrl+right click on a word in any other window, it displays the definition. I was wondering if anyone could help me figure out how to do that. It's just out of curiosity as it may be helpful in future programs I build. I know how to capture mouse/keyboard events from other screens and use the system tray, but I haven't figured how to recognize a word/string from the mouse pointer position.

Thank you,

Wing.



Answer this question

Reading words from other windows