how to hookup non existing frames?
I'm trying to hook up AuctionFrame, like so
hooksecurefunc(AuctionFrame, "AuctionFrame_OnLoad", hook_AF_OnLoad)
and I get a general error about function usage, I guess that's because the frame doesn't exist till you open the auction window.
How do I hookup a frame that doesn't exist?
Is there a higher level frame that creates AuctionFrame and maybe I can hookup on that one? What is the common approach?
Last edited by alikim : 11-25-16 at 04:35 PM.
|