You have 3 frames to hide for each of the (up to 10) chat frames:
ChatFrameX
ChatFrameXTab
ChatFrameXTabDockRegion
(where X has to be replaced with whatever integer is the ID of the frame you want to hide, from 1 to 10)
The chat frames will keep showing up from time to time on some events if you do that, so you have to do prevent them from showing up while you want them hidden (and cancel that afterward). An option is to set their "OnShow" script to call the "Hide()" method, so that a frame will hide every time it's shown.
|