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);
Last edited by Xrystal : 05-12-12 at 01:21 AM.
|