Originally Posted by Fizzlemizz
The Blizzard UI with the exception of LOD addons is loaded before 3rd party addons which means yoiu don't need to create a frame and wait for an event to do what you are wanting.
That asside, I was obviously having a bad day yesterday, OnShow won't fire until after a frame has been hidden in order to actually Show.
This would be your entire addon:
Lua Code:
AddonCompartmentFrame:SetScript("OnShow", function(self) self:Hide() end) AddonCompartmentFrame:Hide() ExpansionLandingPageMinimapButton:SetScript("OnShow", function(self) self:Hide() end) ExpansionLandingPageMinimapButton:Hide()
Added the OnShow/Hide for ExpansionLandingPageMinimapButton (for characters leveling into an expansion where it becomes available)
|
Very kind and much appreciated. I'm on my way out, but will edit this response when I've had time to fire the game up again.
EDIT: It works, just as I had hoped. The big dragon isles summary button (bottom left) and the small addons button (top right) are gone. Combining this with HidingBar, the minimap area looks CLEAN!
Thanks for the time!