WoW:Make Frames Closable With the "Esc" Key

From AddOn Studio
Revision as of 23:43, 26 April 2005 by WoWWiki>Schelli
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To make your main frame closable with the ESCape key go into the OnLoad function and add the following lind :

tinsert(UISpecialFrames,"MainFrameName");

where MainFrameName is the name of your main frame of the application.