Posted by petcas on Sat, 03 Dec 2011 22:57:33
I am trying to add a button to the Character Info Screen, the one that opens when you press "c"(default). My problem is a can't seem to find an Event that triggers when it opens. I'm assuming that i just need to hook the frame and add the button but I have been unable to find and info on the character info screen. Looking for a push in the right direction. Thanks!
Posted by jnwhiteh on Sun, 04 Dec 2011 00:04:52
The easiest thing to do is to make a frame and parent it to that frame, and ensure your frame is shown (i.e. Show(), not Hide()). It doesn't actually need to be visible anywhere. Then you can use the OnShow() event of your frame, and that will happen whenever the character panel is shown.