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 ➜ General ➜ Separate windows - ideas, anyone? :)

Separate windows - ideas, anyone? :)

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


Pages: 1  2  3 4  

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #30 on Mon 21 Jun 2004 04:05 PM (UTC)
Message
My window does all that too :( Besides, it's nice to know as much as possible from the start, because later on you may find that a needed feature cannot be implemented in the design you made so far.

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Ixokai   USA  (24 posts)  Bio
Date Reply #31 on Sat 26 Jun 2004 11:10 AM (UTC)
Message
Mmm. I love this idea. Personally, what i'd like to use 'seperate windows' for is mostly chats and perhaps pages and other such notices, much like other people..

You see, I have a very large monitor/resolution and keep everything wrapped at 80 characters. Its hard for me to read otherwise, its just 'odd'. That leaves like almost exactly half of my screen blank.

I'd love my <Public> chats to all go into one window up over that big black void. The thing is, i'd like them to have an edit window, whre if I click in there and type, it'll automatically be sent with a '=pub' prepended.

Other windows I wouldn't want this, on verify notices, and everything. So if it were an option that'd rule.

Its veery important to me that these get logged together in the right order, but I'm pretty sure someone said that would be the case.

What would be _really_ neat would be the ability to 'tile' all the child/subwindows of a world within a specified rectangle, so I could just add a window and call 'tile' or something and they'd fill in all that black space. Alas. :)
Top

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #32 on Sat 26 Jun 2004 05:56 PM (UTC)
Message
Problem with most 'tile' commands it that they do exactly that, not dock the window in available space, but rearrange every damn window to fill an equal area. very annoing if that isn't what you intended.

Nice to know someone else does the same thing I do and has lots of extra space outside their main window. With all the negative comments I seemed to get to the idea of external windows, I was beginning to wonder. ;)
Top

Posted by Poromenos   Greece  (1,037 posts)  Bio
Date Reply #33 on Sat 26 Jun 2004 07:01 PM (UTC)
Message
That's my setup too, I just haven't found a use for an external window. I just pay attention to the mud output :p

Vidi, Vici, Veni.
http://porocrom.poromenos.org/ Read it!
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #34 on Sat 26 Jun 2004 07:06 PM (UTC)
Message
Shadowfyr, theres a lot of us with resolution that makes our characters smaller than three feet tall. Ive been doing the notepad window thing for... a while. Started with just one, now its three. I have to screenshot it while distributing my plugins, since people dont seem to understand what it is Im talking about. But yeah, its common, and I think will be moreso as monitors tend to get larger.

Actually, if we do eventually get scriptability for sizes/etc I think it'll become a lot more common. Much less unweildy for the normal user.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Toufle   (1 post)  Bio
Date Reply #35 on Fri 05 Nov 2004 08:32 AM (UTC)
Message
Any updates on how this idea is going Nick?
Top

Posted by Gore   (207 posts)  Bio
Date Reply #36 on Sun 19 Dec 2004 04:58 PM (UTC)

Amended on Sun 19 Dec 2004 09:48 PM (UTC) by Gore

Message
in my opinion it wouldn't be worthwild to have command prompts for each window.. seems like it would just waste space. Or.. if you really need it, you could have a toggle for whether to display it or not?

one thing that'd really help me with this is if you could just say, World.SetPane "";World.SetPane "You have this affliction that affliction & etc." so that I could ues it with my pk, heh I don't really have a use for any other sort of thing.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #37 on Sun 19 Dec 2004 07:42 PM (UTC)

Amended on Sun 19 Dec 2004 09:55 PM (UTC) by Nick Gammon

Message
I hit a few technical problems with the panes. They drew OK, but it was annoying things like making them go away when the world closed.

The stuff about "you have this affliction" you would do with a small notepad window.

In recent versions you can position notepads, resize them, change their text and background colour. That would make it easy enough to pop up a suitable message window.

And, you could write your own tiling, since you can now find the size of most things as well.

- Nick Gammon

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

Posted by Gore   (207 posts)  Bio
Date Reply #38 on Sun 19 Dec 2004 09:52 PM (UTC)
Message
ahh nice, thanks for the idea nick, didn't know I could do that
Top

Posted by Gore   (207 posts)  Bio
Date Reply #39 on Sun 19 Dec 2004 10:15 PM (UTC)
Message
Also another idea, anychance you could toggle whether or not your notepad windows stay on top (just on mushclient)?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #40 on Sun 19 Dec 2004 10:27 PM (UTC)
Message
I don't think it can be done. The "on top" is a global thing, not in a MDI frame window.

- Nick Gammon

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

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #41 on Mon 20 Dec 2004 05:18 AM (UTC)
Message
You can simply resize them to share the window with the world. Put them on a side, and shrink the world window.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #42 on Mon 20 Dec 2004 05:53 AM (UTC)
Message
Nick, what about when you move the window you also bring it to the front? Just like if you moved it by dragging.
Either that, or add some sort of z direction.

Also, (not nessisarily a new function suggestion) but is there any way to restore/minimize? setting to 0,0,0,0 dimensions to minimize for instance? I guess using that method, you wouldnt have any way to restore. Since you'd be setting a value however you did it. Unless you allowed like 0,0,-1,-1 to be restore or something.
I dont think maximize would really be needed, since it would steal your focus from the world, and that just doesnt seem right.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #43 on Mon 20 Dec 2004 05:50 PM (UTC)
Message
Umm. Flannel, shrinking the world window and making it 'fit' in the main window is what most of us have been fighting against. We don't want to have to maximize the main Mushclient window just to fit it, since any external applications we try to use with it then get buried behind Mushclient. Applications do manage to have secondary windows on as always on top. Yes, it is a 'global thing', but I don't think it is necessarilly limited only to the applications primary window. If it was, then tool windows, like the ones in Paintshop Pro wouldn't work.
Top

Posted by Shadowfyr   USA  (1,792 posts)  Bio
Date Reply #44 on Mon 20 Dec 2004 07:01 PM (UTC)
Message
Ok.. Done a bit of hunting... Seems what would be needed is to create a non-MDI window (I know this is possible, just not 'standard'). Then come the next trick. Do you want the window to be above everyone else, or only above everything when Mushclient is visible?

http://www.developerfusion.com/show/72/9/

At a guess, I would say using the 'frmFind.Show vbModeless, frmMain' example, where in this case frmMain would be the current world window would do the job, if you simply want it to be on top, when Mushclient is on top. Though I have no idea what effect this would have one a window that is 'supposed' to be moved outside the main window. You might have to use the first example from that page instead.

Hiding and unhiding it when you switch between worlds is an option that could be provided as well. In fact, "auto-hide", "hide when world is not visible", etc. could all be in a right click menu for the window. Same with something to bring up a dialog to set the pre-append text for a input window, or even if it 'has' such a window. Of course, there is the issue that saving those setting can't really be done. In a plugin, there is no way for Mushclient, currently, to write to the plugin with the settings, same with the main world.

http://www.codeproject.com/wtl/wtlsnap.asp

Gives an example of the auto-hide functionality, though most applications that use them tend to set the title bar size to about half normal and same with the font, so that when not in use, they are less annoying. For some uses this would be quite helpful to have. It also includes examples of docking code, though of course, since the idea is to make the window external, it needs to 'snap' to the outer edges of the client when room is available, not the inside.

I am asking on a C++ forum if there are any better examples around, but maybe these will help. Trying to find exactly what you want through google isn't precisely simple. lol But some combination of the snapping/floating functionality is probably what most people are looking for. The auto-hide and other tricks are just nice additions. Also, since MDI vs. SDI are behaviours, not specific states for a window, it should be possible to use the 'pin' for a different purpose, like 'pinning' the window to the client, so it behaves like another MDI, for those that don't want it floating next to the client. The existing purpose for it is sort of the same, except that it forces it in the open state. A different icon might be better for that, like an open book or something.

Anyway, thought I would try to help. I don't know what problems you are actually running into, but this is one time I really wish I did know C++, so I could work out a real example. :(
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.


187,096 views.

This is page 3, subject is 4 pages long:  [Previous page]  1  2  3 4  [Next page]

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.