Hi everyone

Is there a way to retrieve a word at mouse current position regardless of the window? Maybe the a question is a little of confuse, so I describe it in detail. Whenever my applications is running and a user is moving a mouse to particular window that has some texts, I would like my application to pick a word (just a word not all text) at the current mouse position. Can this be done? Thanks for any help.