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.

Reading words from other windows
AronW
Thank you very much.
I was hoping for something more innate to C# and .NET but I guess using pinvoke should work just fine.
tdtdtd
hi,
how to retrieve text under mouse courser >> http://blogs.msdn.com/oldnewthing/archive/2004/04/23/118893.aspx
Global system hooks (mouse curser) >>> http://www.codeproject.com/csharp/globalsystemhook.asp
i hope this helps