EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > XML Modification Help & Info

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Unread 04-20-2007, 09:18 AM
Othesus's Avatar
Othesus Othesus is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Lucan DLere
Posts: 847
Default Close Button that just makes window page visible=false?

I've been tinkering and working on some improvements for my browser window mod. It's always a challenge to figure out what is hard coded into the UI and how to work around those things.

I noticed that there are a lot of ways to make a close button. Most of the default windows have the close button as AnyWindow.WindowFrame.Close. The names "WindowFrame" and "Close" can't be changed. Some old style windows have a button called "WC_CloseButton" but this button seems like it has to be at the first level of your window. I just saw some other windows where people just Parent up to the top of the window and set Visible=false.

Is there any real difference with these methods? I'm going to be using "WC_Titlebar" and "WC_Frame" to store some settings so I'll have to use something other than the normal WindowFrame.Close button.
Reply With Quote
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:10 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI