Navigation menu

WoW:Creating simple pop-up dialog boxes: Difference between revisions

Jump to navigation Jump to search
m (→‎Optional Features: Lua is not an acronym.)
Line 54: Line 54:
Up to 4 static popups may be displayed at once.  The UI will handle finding an open slot for you.
Up to 4 static popups may be displayed at once.  The UI will handle finding an open slot for you.


== Hiding the Popup ==
To make the dialog disappear without having a user click it, call <tt>StaticPopup_Hide</tt> with the name of the entry:
StaticPopup_Hide ("EXAMPLE_HELLOWORLD");
Calling the <tt>StaticPopup_Hide</tt> function after the dialog has already been hidden does not appear to have any ill effect.  Return values of this function, if any, are not documented.


== Advanced Setup ==
== Advanced Setup ==
Anonymous user