Thread: OpenChatWindow
View Single Post
05-12-12, 01:12 AM   #4
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,929
Yep, many an hour I have trawled through that code while working on my chat plugins... *sigh* but alas the docking system isn't that well documented or exampled clear enough.

These are some of the functions I have used with my chat plugins. But definitely worth reading though those files Phanx mentioned.

local _, _, _, _, _, _, shown = FCF_GetChatWindowInfo(i);

Locking Functions
FCF_SetLocked( cframe, nil );
FCF_SetLocked( cframe, 1 );

Docking Functions
FCF_UnDockFrame( cframe );
FCF_DockFrame( cframe, #FCFDock_GetChatFrames(GENERAL_CHAT_DOCK)+1, true );

SetChatWindowShown(cframe:GetID(), 1);
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818

Last edited by Xrystal : 05-12-12 at 01:21 AM.
  Reply With Quote