[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Miniwindows
. . -> [Subject]  hotspot cancelmousedown

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

hotspot cancelmousedown

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Retnur   (9 posts)  [Biography] bio
Date Thu 18 Nov 2010 07:54 PM (UTC)  quote  ]
Message
I'm having issues with getting the mouseup callback consistently. Very often it seems to cancel down instead. Under what conditions should the be happening? I'm not moving mouse out of hotspot, esc, and its not a mouse hardware issue. Furthermore, I'm using v4.61 under ubuntu 10.10.
[Go to top] top

Posted by Nick Gammon   Australia  (18,772 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Thu 18 Nov 2010 08:34 PM (UTC)  quote  ]
Message
Is it possible the hotspot is being recreated? I had a similar issue a while back, for example in the mapper. If you mouse-down, then while you are holding the mouse the window is redrawn for some reason, then it loses that hotspot, if you aren't careful anyway.

See:

http://www.gammon.com.au/scripts/doc.php?function=WindowCreate

If this is the case for you, you might want to set the flag:

miniwin.create_keep_hotspots = 16

That way, even if the window is recreated, the hotspots (and their memory of if you just pressed a mouse in them) is retained.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Retnur   (9 posts)  [Biography] bio
Date Reply #2 on Fri 19 Nov 2010 04:04 AM (UTC)  quote  ]
Message
That was exactly the problem. (I'm working on a mapper as well.)
[Go to top] top

Posted by Retnur   (9 posts)  [Biography] bio
Date Reply #3 on Fri 19 Nov 2010 04:48 AM (UTC)  quote  ]
Message
I should mention for future readers perhaps that I solved the problem with multiple layers for graphics using transparency.
[Go to top] 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.


886 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]