WoW:Make Frames Closable With the "Esc" Key

Revision as of 11:26, 7 June 2005 by WoWWiki>Jed32 (Corrected the word, "line")

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

tinsert(UISpecialFrames,"MainFrameName");

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