Quantcast WoWInterface - View Single Post - Moving the MainMenuBar
View Single Post
08-15-18, 08:28 AM   #13
Taudier
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 24
MainMenuBar:SetMovable(true)
MainMenuBar:SetUserPlaced(true)
MainMenuBar:SetPoint("BOTTOM", 100, 20)

-- this part to restore the MainMenuBar after vehicule exit
CreateFrame("frame", nil, nil, "SecureHandlerBaseTemplate" ):WrapScript(ActionButton1, "OnShow", [[
local MainMenuBarArtFrame = self:GetParent()
local MainMenuBar = MainMenuBarArtFrame:GetParent()
local UIParent = MainMenuBar:GetParent()
MainMenuBar:SetPoint("BOTTOM", UIParent, "BOTTOM", 100, 20)
]])

*it doesn't work if you display the right bottom multibar

Is there any way to hide the MainMenuBar without taint?
MainMenuBar:EnableMouse(false)
MainMenuBarArtFrame:Hide()

but you will have to make adjustment to other frames

Last edited by Taudier : 08-15-18 at 12:22 PM.
  Reply With Quote