The information in this article applies to:
SYMPTOMS
When you resize the WebBrowser control inside a CFormView, it may not
repaint correctly.
CAUSEThe WebBrowser control does not handle WM_PAINT messages correctly when it is being resized. RESOLUTIONWhen the WebBrowser control is resized, update the client area of the WebBrowser control by calling UpdateWindow(). STATUSMicrosoft 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. MORE INFORMATIONThe following code shows how the WebBrowser control would normally be resized when the client window is resized. The call to UpdateWindow() causes a WM_PAINT message to be sent directly to the window of the control.
Additional query words: web browser shdocvw.dll
Keywords : AXSDKWebBrowser |
Last Reviewed: August 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |