GET STRING UNDER MOUSE CURSOR

Posted by Derick Appiah on Tue 30 Jul 2013 07:26 AM — 2 posts, 11,241 views.

#0
Please, i have googled several times to find a way by which the string or word under the mouse cursor can be detected, but all my effort has failed.
First of all is it possible? If Yes how, and if no too, can't there be any alternative?
Actually, what i want to do is to be able to findout if the mouse cursor is over a hyperlink, which is not a url but the click here type, and if it is over the hyperlink, then toggle the mouse cursor from an arrow to hand, as seen in most text editors.
I have seen this been done in some languages, but unfortunatly, i'm a newbie, and lua is the language i have started with, so i can't translate the ones i have seen.
So here are some of the sites i found:

http://stackoverflow.com/questions/7234809/how-to-select-certain-string-that-is-under-the-mouse-cursor-in-c-wpf

http://www.vbforums.com/showthread.php?523867-How-Get-text-under-mouse-Cursor

http://delphi.about.com/od/adptips2003/a/bltip1203_4.ht

http://www.powerbasic.com/support/pbforums/showthread.php?t=53115

Australia Forum Administrator #1
Is this anything to do at all with MUD games?