EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   UI Developer Discussion (https://www.eq2interface.com/forums/forumdisplay.php?f=3)
-   -   Hiding Frame and Window Setting (https://www.eq2interface.com/forums/showthread.php?t=6602)

GenesisRage 08-11-2006 01:46 PM

Hiding Frame and Window Setting
 
when changing the window settings for "Frame and Title" it just hides the WindowFrame.Frame (as far as i know). my question, is there a way to make a button to hide the frame and have it update the window setting - frame and title from "Frame and Titlebar" to "None" when clicked... instead of changing it manually through the window settings?

Landiin 08-11-2006 03:01 PM

I'm 99% sure that isn't going to be possible. Because the Window Setting window is just a template the game uses for each window. So there isn't any way that I know of to change that setting other then right clicking.

Zonx 08-11-2006 09:40 PM

Prety sure this can be done with any window that has a Settings button. Unlike bags which create multiple instances from a template file, I think the Settings window works like the quanitity selector. Only 1 instance can be open at a time and the window knows what called it. If true, this means the window can be taregeted and will function so long as its opened through a standard settings button.

Basiclly this is what the script would have to do:

Parent.Settings.Press = true

Parent.Parent.SetingsWindow.FarmeAndTitleMenu.SelectedIndex = menu item number

Parent.Parent.SettingsWindow.OKbutton.Press = true

Note: You'll have to figure out the correct item names and paths but this should work. All the script is really doing is activating existing controls. Since the SettingsWindow is being opened by the standard settings button, the relationship bettwen the 2 windows should be managed properly by the client.

Landiin 08-12-2006 01:20 AM

Zonx would be correct, if you activate the settings window via the settings button of said window, you'll be able to manipulate the drop down from the script.

gm9 08-12-2006 04:44 AM

I tried this once and I think I didn't manage to reference the correct WindowSettings window.


All times are GMT -5. The time now is 01:08 PM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI