Okay, so here's the deal. I've got a custo scrolling solution for my application which embeds mozilla. I want to hook it up so it scrolls the browser pane in my application. If you call nsIDOMWindow::ScrollByLines() and the document itself has a scrollbar, it scrolls. But if the document contains HTML frames, and one of the nested frames has a scroll bar, but the parent window itself does not, the frame doesn't scroll. Okay so I apparently need to iterate over the children of the nsIDOMWindow and find a child with a visible scrollbar. But there appears to be no working method to make this determination. I've tried getting the nsIDOMBarProp via nsIDOMWindow::GetScrollBars, but I've since discovered that nsIDOMBarProp::GetVisible returns NS_ERROR_FAILURE everytime... which makes the whole nsIDOMWindow::GetScrollBars pretty much useless. Any help or pointers would be appreciated. -=- John
