You can get to the root frame from the PresShell by calling
nsIPresShell::GetRootFrame(). From there, you can walk the frame
hierarchy by recursively calling nsIFrame::FirstChild() and
nsIFrame::GetNextSibling().
What are you trying to do?
Shaw Lu wrote:
>
> Hi, Layout gurus:
> I have a question about how to get a FrameList given a
> FrameManager or DocShell, or even PresShell.
> Thanks in advance!
>
> Xiaobin Lu
> ---------------------------------------------
> OJI, Sun Microsystems
> Email: [EMAIL PROTECTED]
> ----------------------------------------------