GuiWindowCtrl - Select Window from Script
by Matt Huston · 02/16/2007 (9:19 am) · 0 comments
Incredibly small resource but was something I needed the GuiWindowCtrl to have. Allows you to have multiple windows on the same GUI Control and be able to select which is the front Window via the script.
Use:
winChatGUI.selectWindow();
Copy the following into your GuiWindowCtrl.cc and Compile.
Use:
winChatGUI.selectWindow();
Copy the following into your GuiWindowCtrl.cc and Compile.
ConsoleMethod( GuiWindowCtrl, selectWindow, void, 2, 2, "(Moves window to the front)")
{
object->selectWindow();
}About the author
www.atomicbanzai.com