WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Search/Requests (https://www.wowinterface.com/forums/forumdisplay.php?f=6)
-   -   Minor notice for ToggleX API functions (https://www.wowinterface.com/forums/showthread.php?t=17818)

LBXZero 08-21-08 12:42 PM

Minor notice for ToggleX API functions
 
As I suggested a solution for UberQuest about opening its panel with the Toggle Quest Log key binding, I found a change in the UI.

A couple of the ToggleX API functions have been removed and replaced with ToggleFrame(X). One of these functions is ToggleQuestLog. So if you are having problems using the standard key binding, do a quick check of Binding.xml to see if the function changed to ToggleFrame(X).

If this does impact your mod for WotLK, my solution is hooking the frame's OnShow function and add the line "HideUIPanel(X)" to the beginning of your function so that when that frame shows, it is immediately hidden and your frame will show instead. If the Blizzard frame does not have an OnShow event, then set the script for it.


All times are GMT -6. The time now is 04:09 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI