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 ➜ Miniwindows ➜ Hotspot toggling accelerators issues.

Hotspot toggling accelerators issues.

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


Posted by Ciaran   (2 posts)  Bio
Date Thu 05 Aug 2010 05:58 AM (UTC)

Amended on Thu 05 Aug 2010 06:30 AM (UTC) by Ciaran

Message
While this isn't literally miniwindows coding, it functionally has a lot to do with my use of miniwindows and hotspots!

The goal is to have an interface where a few buttons control a qwerty x zxcvb grid of macros (like starcraft), but I have a critical issue with the function of it currently.

Explanation:
-I have a hotspot I press to toggle between accelerators.
-When I click outside of the command box the ticking cursor goes away, and my first keystroke of an accelerated key is not sent, instead this keystroke returns the ticking cursor to the command window and following accelerated keystrokes behave as they should.
-When not doing an accelerated keystroke, this problem doesn't arise for some reason, after clicking away from the command box the first stroke puts the pressed letter into the command box

So, what I'm looking for is to have some way for the first accelerated command after I click outside of the command box to be properly sent (this is fairly important to the function of my GUI!).

As an aside, I've tried the "all typing goes to command window" both ways to no avail.

Thanks!

edit: If someone wants to recreate my situation to try to find the solution, all you need to do is make an accelerated key, and click off the command box, then use that key. The problem I don't think is rooted in anything to do with miniwindows, so I hope this isn't considered posting in the wrong forum.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 05 Aug 2010 06:04 AM (UTC)
Message
Do you process the click on mouse-up or mouse-down?

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #2 on Thu 05 Aug 2010 06:22 AM (UTC)
Message
I can reproduce the problem, you are right it seems that the accelerator press switches focus to the command window, but doesn't seem to process the keystroke itself.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #3 on Thu 05 Aug 2010 06:26 AM (UTC)

Amended on Thu 05 Aug 2010 06:27 AM (UTC) by Nick Gammon

Message
Fixed in version 4.56.

- Nick Gammon

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

Posted by Ciaran   (2 posts)  Bio
Date Reply #4 on Thu 05 Aug 2010 07:02 AM (UTC)
Message
Thank you very much.

I really appreciate the awesome support you provide for this client!
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.


13,004 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.