View Single Post
  #9  
Unread 02-01-2005, 03:49 AM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Visible is the initial value. If your UI ini says X window is visible it'll change from the default to the saved state; true to true (no change so no call is made) or false to true (which is what we want to happen). This means you want to set the window Visible=false and use the OnShow message which EQ2 will call when it forces the window to show upon logging in.

In other words, if you set Visible=false and try to do an OnHide message, it won't get called during login if you last camped with that window open.

This is how it's worked for me anyway.

Quib
Reply With Quote