Closed
Bug 67181
Opened 24 years ago
Closed 24 years ago
Unable to hide/show scrollbars programatically
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: adamlock, Assigned: danm.moz)
References
Details
Some embedders need to disable scrollbars on a frame. The logical way to do this
would be through some code like this:
nsCOMPtr<nsIDOMWindow> window;
mWebBrowser->GetContentDOMWindow(getter_AddRefs(window));
nsCOMPtr<nsIDOMBarProp> scrollbar;
window->GetScrollbars(getter_AddRefs(scrollbar));
scrollbar->SetVisible(PR_FALSE);
Unfortunately, the ScrollBarsPropImpl class that implements nsIDOMBarProp just
returns NS_ERROR_FAILURE.
http://lxr.mozilla.org/seamonkey/source/dom/src/base/nsBarProps.cpp#231
Updated•24 years ago
|
Blocks: 70229
Keywords: embed → mozilla0.9.1
Comment 2•24 years ago
|
||
Reassigning to jst, CCing evaughan, changing component to DOM.
Assignee: karnaze → jst
Component: Layout → DOM Other
Comment 3•24 years ago
|
||
Over to danm who's working on the DOM window internals.
Assignee: jst → danm
Need to get this one fixed, don't I?
*** This bug has been marked as a duplicate of 58539 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•24 years ago
|
Component: DOM Other → DOM Level 1
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•