I need a way to determine if a nsIDOMWindow has a vertical scrollbar
from C++.

Actually, I'm trying to find the "outermost" frame with a vertical
scrollbar by iterating over each nsIDOMWindow within a nsIWebBrowser.

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 nsIDOMBarProp
pretty much useless.

Any help or pointers would be appreciated.

-=- John

Reply via email to