View Single Post
  #26  
Unread 01-03-2005, 03:44 AM
Talyns's Avatar
Talyns Talyns is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Everfrost
Posts: 604
Default

Quote:
Originally Posted by Talyns
I was able to create a chat window that Has Minimize and Restore Buttons..
Also added a button to toggle the input area on and off..
None of it saves when you log out though.. When you log in all chat windows will look normal again.. If you had a minimized window it will be minimum size..

I think it's a good idea NOT to remove the input bar or minimize your mainchat window (IE 1st chat window).. You will no longer be able to bring up the chat input with enter, or '/' , etc..

When the input bar is missin; to resize the window from the bottom you have to grab where the bottom frame would be on the input bar..
this is what the code looks like (Will only work in my window though)

ChatInputToggle:
Code:
Parent.Parent.InputVisible.Visible=(!Parent.Parent.InputVisible.Visible)
Parent.Parent.ChatInput.Visible=Parent.Parent.InputVisible.Visible
Parent.Parent.WC_Frame.WC_ChatInputFrame.Visible=Parent.Parent.InputVisible.Visible
Parent.Parent.WC_Frame.NewImage.Visible=Parent.Parent.InputVisible.Visible
Parent.Parent.WC_Backdrop.InputBack.Visible=Parent.Parent.InputVisible.Visible
Parent.Parent.DefaultChannelButton.Visible=Parent.Parent.InputVisible.Visible
MinimizeButton:
Code:
Visible=false
Parent.Restore.Visible=true
Parent.Hide.Visible=false
Parent.Parent.DefaultChannelButton.Visible=false
Parent.Parent.ChatDisplay.Visible=false
Parent.Parent.ChatInput.Visible=false
Parent.Parent.WC_Frame.Visible=false
Parent.Parent.WC_Backdrop.Visible=false
Parent.MinBorder.Visible=true
Parent.MaxBorder.Visible=false
Parent.Parent.InputVisible.Size=Parent.Parent.Size
Parent.Parent.MinimumSize=160,20
Parent.Parent.Size=160,20
Parent.Parent.UserResizable=false
Restore:
Code:
Visible=false
Parent.Minimize.Visible=true
Parent.Parent.DefaultChannelButton.Visible=true
Parent.Parent.ChatDisplay.Visible=true
Parent.Parent.ChatInput.Visible=Parent.Parent.InputVisible.Visible
Parent.Parent.WC_Frame.Visible=true
Parent.Parent.WC_Backdrop.Visible=true
Parent.MinBorder.Visible=false
Parent.MaxBorder.Visible=false
Parent.Parent.MinimumSize=256,160
Parent.Parent.Size=Parent.Parent.InputVisible.Size
Parent.Parent.UserResizable=true
Parent.Hide.Visible=true
If you want to check it out look here:
http://www.eq2interface.com/forums/s...&postcount=117
You'll need TabletsII_Beta_5..

edit: Hmm can't figure out what that odd spacing is.. Doesn't look that way in the edit messageBox ..

Last edited by Talyns : 01-03-2005 at 03:52 AM.
Reply With Quote