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
GickerLDS
Newbie


Joined: 02 Dec 2016
Posts: 3
Location: Halifax, Canada

PostPosted: Tue Apr 25, 2017 8:33 pm   

MXP Controlled Chat Window Focus
 
Hi guys,

I have a chat window in CMUD that is shared among different MUDs. Each MUD outputs chat text to the "Comm" window via MXP. The issue I'm having is that when I am in a different MUD tab, and I get chat output in the Comm window, it switches focus over to that tab, often cutting me off in the middle of typing something.

Is there a workaround for this so that it doesn't change focus when you receive new chat input?

Thanks!

Gicker

Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Fri Apr 28, 2017 5:47 am   
 
Can you show us the commands you are using to send text over to the shared window?
_________________
Discord: Shalimarwildcat
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Sun Apr 30, 2017 5:20 am   
 
You probably need to disable the "Automatically bring to front window with activity" option in the window preferences.
Reply with quote
GickerLDS
Newbie


Joined: 02 Dec 2016
Posts: 3
Location: Halifax, Canada

PostPosted: Thu May 04, 2017 1:14 am   
 
Thanks for the responses guys.

The 'automatically bring to front window with activity' option is unchecked.

It's using MXP built into the MUD code using the DEST tag.

Eg.

Code:

send_to_char(ch, "<DEST Comm>");
send_to_char(ch, "Some chat text.");
send_to_char(ch, "</DEST>");
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