View Single Post
11-09-10, 02:14 AM   #2
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Read through the code of rChat:
http://code.google.com/p/rothui/sour...e/trunk/rChat/

NUM_CHAT_WINDOWS has the max number of chatframes. Available at loadup.

There is another function that can return the actual number of active chatframes but that is available after loadup only.

Blizzard ChatFrame code is in FrameXML/FloatingChatFrame.lua / .xml

Check for "FCF_GetNumActiveChatFrames()" in https://github.com/tekkub/wow-ui-sou...gChatFrame.lua
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 11-09-10 at 02:16 AM.
  Reply With Quote