BUG: Scroll Bars and Borders Appear in Framesets When You Navigate Again in BeforeNavigate (324419)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 5.5
This article was previously published under Q324419 SYMPTOMS
An empty scroll bar and sometimes a border appear if the following conditions are true:
- You display a frameset in an application that hosts the WebBrowser control.
-and-
- You navigate to a frame in the frameset elsewhere in the BeforeNavigate or the BeforeNavigate2 event handler.
These items should not appear in the frame.
RESOLUTION
To work around the problem with the scroll bar, use one of the following methods:
- In the HTML source for the frame page, manually add the "auto" or the "no" value to the scroll attribute in the <body> tag.
- Add the scroll attribute dynamically through Dynamic HTML (DHTML).
- Delay the navigation by posting a user-defined message and by performing the navigation in the user-defined message handler.
To work around the problem with the border, use one of the following methods:
- Post a user-defined message, and then perform the navigation in the user-defined message handler.
- Implement the IDocHostUIHandler interface, and then return DOCHOSTUIFLAG_NO3DBORDER in the GetHostInfo method.
For more information, see the "More Information" section of this article.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/12/2003 |
---|
Keywords: | kbbug kbpending KB324419 |
---|
|