Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-11-10, 04:25 PM   #1
lgweaver
A Defias Bandit
 
lgweaver's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 1
Hooking an on enter event to a standard UI element

for an add on Enhancement I'm working on I need to hook an on enter event to MainMenuBarMackpackButton but my experaince is limited and I'm having trouble with this. is it even possible to hook an event to a frame the ad don didn't create?

If not I may have to poll the size of MainMenuBarMackpackButton and create an invisible frame over the MainMenuBarMackpackButton and use an on enter event for that frame. For efficient code if I do not need to create a frame I do not want to.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Hooking an on enter event to a standard UI element


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off