Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-12-10, 06:46 AM   #1
tayedaen
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Jun 2006
Posts: 13
Question Cata: Problem with EnumerateFrames

Hi !

I just got a problem with EnumerateFrames().
I hope somebody can enlighten me what is going on here.
It seems EnumerateFrames() is no longer iterating through ALL frames (at least not in build 12942).
Perhaps secure frames are not included, perhaps I get only frames that are not a direct child to UIParent. Who knows

For example with the following code I NEVER get the frame 'TargetFrame'.
Code:
    local frame = EnumerateFrames()
    while (frame) do
        local frameName = frame:GetName() or "noname";
        DEFAULT_CHAT_FRAME:AddMessage("frame found: "..frameName);
        frame = EnumerateFrames(frame);
    end
Do you have any idea what is happening here ?
 
 

WoWInterface » AddOns, Compilations, Macros » Cataclysm Beta » Cata: Problem with EnumerateFrames


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