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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
JWhitney
Wanderer


Joined: 20 Oct 2006
Posts: 51

PostPosted: Mon Apr 29, 2013 8:56 pm   

Opening and closing #WINDOWs with aliases/command line input
 
I have a separate HUD window that contains gauges and other info. I'd like to be able to open and close via aliases, instead of having to open and close it manually. #T+/#T- enable and disable the items contained WITHIN the window's settings, but doesn't hide the window frame itself, which is my goal.

Is there any way to do this?
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Mon Apr 29, 2013 9:14 pm   
 
#window "windowname", #close "windowname".
Reply with quote
JWhitney
Wanderer


Joined: 20 Oct 2006
Posts: 51

PostPosted: Mon Apr 29, 2013 9:35 pm   
 
Ha, of course it would be something so simple!

Thank you Daern!
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Apr 29, 2013 10:08 pm   
 
For added control, there is also the #MAKEWINDOW command as well as the FRAME tag from the MXP specs. This allows you to change things such as position (the top and left coordinates) and dimension (width and height), as well as scrollbars, docking state, etc so you can tailor your window to the text you wish to show. Not sure if you can access stuff like minimize/maximize, but if not you can always create a clickable link using the SEND tag that changes the width and height.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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