FIX: WebBrowser Control in CFormView Does Not Repaint Properly (179421)
The information in this article applies to:
- Microsoft Internet Explorer (Programming) 3.0
- Microsoft Internet Explorer (Programming) 3.01
- Microsoft Internet Explorer (Programming) 3.02
- Microsoft ActiveX SDK
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2b
- Microsoft Visual C++, 32-bit Professional Edition 4.2b
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
This article was previously published under Q179421 SYMPTOMS
When you resize the WebBrowser control inside a CFormView, it may not
repaint correctly.
You may experience the scroll bars not being redrawn.
CAUSE
The WebBrowser control does not handle WM_PAINT messages correctly when it
is being resized.
RESOLUTION
When the WebBrowser control is resized, update the client area of the
WebBrowser control by calling UpdateWindow().
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been corrected in Microsoft
Internet Explorer 4.0.
Modification Type: | Minor | Last Reviewed: | 8/18/2005 |
---|
Keywords: | kbbug kbfix KB179421 |
---|
|