Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Lua ➜ GET STRING UNDER MOUSE CURSOR

GET STRING UNDER MOUSE CURSOR

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Derick Appiah   (5 posts)  Bio
Date Tue 30 Jul 2013 07:26 AM (UTC)
Message
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

Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 30 Jul 2013 09:41 AM (UTC)
Message
Is this anything to do at all with MUD games?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


10,752 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.