WoW:API SetWhoToUI: Difference between revisions

m
Move page script moved page API SetWhoToUI to WoW:API SetWhoToUI without leaving a redirect
No edit summary
m (Move page script moved page API SetWhoToUI to WoW:API SetWhoToUI without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 28: Line 28:


:Of course your code should make sure to reset <tt>iAmWaitinForAReply</tt> periodically (e.g. in case you never get a reply!), and you should probably read [[HOWTO:_Hook_a_Function]] for more info on that subject.
:Of course your code should make sure to reset <tt>iAmWaitinForAReply</tt> periodically (e.g. in case you never get a reply!), and you should probably read [[HOWTO:_Hook_a_Function]] for more info on that subject.
:'''Note - Hooking FriendsFrame's OnEvent handler is a really bad idea''', because FriendsFrame contains the raid tab. This would likely cause you a lot of problems with the new secure framework. Using FriendsFrame:Hide() is also probably not a good idea unless you're absolutely sure when your code is going to be run. Otherwise, you may inadvertantly hide the FriendsFrame when the player is using it.
Anonymous user