Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Mike Z Red
Beginner


Joined: 11 Jun 2004
Posts: 11
Location: USA

PostPosted: Fri Jun 18, 2004 1:46 pm   

and I thought MS Windows was a pain...
 
Once I create a window with either #MAKEWINDOW or #WIN, I can click on the 'o' on the title bar and DISable 'Caption on Top' for the window options. If I do this, though, a number of undesirable things happen:

1) My main issue, the window won't stay on top, anymore (even if {floating=yes} is included as part of the #MAKEWINDOW command, or if I ENable 'Stay on Top' in the window options before DISabling 'Caption on Top'.

2) I can't get back to the Window Options and have to click in the window (to give it the focus) and then ALT+F4 to close it.

My goal, essentially, is to create a number of status windows at the top of the screen, sans-scrollbars, with a set number of lines(n) so that sending nlines replaces what's in the window. I'm more interested in saving vertical space than horizontal, so putting the caption on the left is preferable.

So, what I'm asking is:

1- Is there a way to turn off 'Caption on Top' through script?
2- Is there a way to turn ON 'Stay on Top' once 'Caption on Top' has been disabled?
3- Is there a way to turn ON 'Caption on Top' once 'Caption on Top' has been disabled?
4- How do I set which window has focus using script? I can't seem to track this command down.


I don't really have code to post, because I can't find documentation on these things in the help files, so I don't know where to start. (Why do I have a feeling this means they haven't been implemented?Sad)

Thanks for your help, guys!
Reply with quote
geniusclown
Magician


Joined: 23 Apr 2003
Posts: 358
Location: USA

PostPosted: Fri Jun 18, 2004 3:22 pm   
 
I don't float any of my windows, so I don't have experience with any of what you're asking. However, an alternative might be to use #STWIN. This creates a status window that updates itself without scrolling or using #WIN commands. For details, check the command out in the help docs.
Reply with quote
mr_kent
Enchanter


Joined: 10 Oct 2000
Posts: 698

PostPosted: Fri Jun 18, 2004 5:22 pm   
 
quote:
Originally posted by Mike Z Red


My goal, essentially, is to create a number of status windows at the top of the screen, sans-scrollbars, with a set number of lines(n) so that sending nlines replaces what's in the window. I'm more interested in saving vertical space than horizontal, so putting the caption on the left is preferable.

So, what I'm asking is:

1- Is there a way to turn off 'Caption on Top' through script?


NO
quote:

2- Is there a way to turn ON 'Stay on Top' once 'Caption on Top' has been disabled?


No
quote:

3- Is there a way to turn ON 'Caption on Top' once 'Caption on Top' has been disabled?


Yes. Right click on the window and alter the window's properties. OR, click on the window to give it focus then View|Preferences|General, tick the check box for the attributes you'd like the window to have.
quote:

4- How do I set which window has focus using script? I can't seem to track this command down.


Help|Contents|Getting Started|Introduction to Multiplaying


Stay on Top is buggy, users know it, Zugg knows it, it's buggy.
The reason it is buggy is(according to Zugg) the way MSWindows implements the z-order of windows and probably will never be fixed.

There are many ways to do most anything in zMUD but I'm not sure how closely you need these secondary windows to behave like the status window. Aspects of the status window can be applied to each window, but not all aspects at once(only one status window is possible per session).

Is is necessary to have these windows float? Is it possible to leave these windows open all the time and in the same place? If so, 'stay on top' wouldn't be an issue as you could just tile them.

If you need more help, be specific about what you want to do instead of what you want to happen and we'll do our best to provide a workable solution.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net