View Single Post
  #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