"frame.Show = frame.Hide" would replace the Show()-function with the Hide() one, so that it can't be shown through the normal call.
"frame.Show = nil" to undo.
if you want to hide Blizz-Events, you could also try to :UnregisterAllEvents() of them. I block the BankFrame for my inventory addon this way.
|