Code:
local function ForChildren(frame)
frame:EnableMouse(false)
for i = 1, select("#", frame:GetChildren()) do
ForChildren(select(i, frame:GetChildren()))
end
end
ForChildren(MyFrameName)
will disable the mouse for the frame and all of its children. Bear in mind that if you do the reverse, setting it to true, you may accidentaly enable the mouse for frames you don't want to.