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 ➜ Suggestions ➜ Allow changing focus to main window when Alt+Enter is open

Allow changing focus to main window when Alt+Enter is open

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


Posted by Philip Mak   USA  (35 posts)  Bio
Date Tue 05 Mar 2002 09:23 AM (UTC)
Message
If the Configuration screen (Alt+Enter) is open, then if I try to click on the main MUSHclient window it just beeps at me and doesn't let me type in it.

It would be nice if I could use the main MUSHclient window while Configuration is open, in case I'm doing some complicated configuration task that takes a while, but something happens in the MUSH that I want to respond to.
Top

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #1 on Tue 05 Mar 2002 08:48 PM (UTC)
Message
I imagine this would require changing window behavior quite a bit. Maybe if the link I gave Gammon about keeping windows always on-top actually works it would be possible, but the reason he didn't do it probably has to do with the fact that there is really no direct support of switching between open windows 'within' a program. If dialogs and configuration options allowed you to switch back to the main client window you would in most programs lose track of the other window. Having had this happen I have to say it is a major pain. lol

in any case it would require some serious changes to the code for those dialogs, though I do agree with you that is would be very nice to be able to do so. ;)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 05 Mar 2002 09:00 PM (UTC)
Message
Yes, this is the difference between modal and modeless dialog boxes, and I have to say modeless ones can be a pain. For example, what if you have the configuration open, click on the main window and type something, forget you have the configuration open, and open another one?

One approach, if you want to do some major work (like adding lots of triggers) while being in a conversation with someone, is to run two copies of MUSHclient. In one copy you just chat away, and in the other one you open the configuration window and make all your changes. Then save them, and close and reopen the world in the other copy to get the changes to take effect.


- Nick Gammon

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

Posted by Philip Mak   USA  (35 posts)  Bio
Date Reply #3 on Tue 05 Mar 2002 11:38 PM (UTC)
Message
Well, one thing I noticed was that when I'm inside the configuration window, if people on the MUSH page me I can still see the messages in the main window so it's obviously still running...

> For example, what if you have the configuration open, click
> on the main window and type something, forget you have the
> configuration open, and open another one?

In that case, I would expect it to switch back to the configuration window that I currently have open.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #4 on Wed 06 Mar 2002 06:14 AM (UTC)
Message
Quote:

Well, one thing I noticed was that when I'm inside the configuration window, if people on the MUSH page me I can still see the messages in the main window so it's obviously still running...


Yes, it's cute isn't it? The MFC libraries that MUSHclient is written in internally create a separate thread for modal dialogs, so the "underneath" window continues to work.

Quote:

In that case, I would expect it to switch back to the configuration window that I currently have open.


Yes, that would work.



- 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.


18,697 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.