#0 - Dec. 6, 2006, 9:29 p.m.
I saw this posted here months ago and have been loving it ever since:
i = CreateFrame("frame", "MyNeverCloseFrame");
i:SetScript("OnHide", function()
this:Show();
ClearTarget();
end);
tinsert(UISpecialFrames, "MyNeverCloseFrame");
This rocks. It lets me spam the Escape key in panic and get back to a clear playing state, but never brings up the main menu because there's always a window "shown".
Now, of course, it breaks with the restricted-action-ignore-or-die error. I know it's the ClearTarget() line, because I can comment that out and then it all works.
I'm told that all of my calls to CreateFrame() now have to have some other blizzard secure frame name in them in order for *any* kind of frame manipulation, whether in combar or out, and from my experiences since yesterday this seems to be true. But the wowwiki is offline and the two stickied "Guide to <...>" threads don't have anything beyond a brief overview yet. I wasn't lucky enough to get a Beta invite so I don't know how any of this works.
Anybody know how to change that little recipe there so it works again? It doesn't have to work in combat cuz nothing's going to work in combat anymore, but if I could just get it working around the bank and AH then it'd be really convenient.