The information in this article applies to:
SYMPTOMSIf an ActiveX Template Library (ATL) control is downloaded from a Web page, the ATL control may not appear initially. Clicking on the Refresh button in Internet Explorer causes the control to appear. CAUSEThis is a bug in Internet Explorer. It is not calling the control's IViewObject::Draw() function after the control is downloaded and registered. RESOLUTIONForce the control to redraw itself when it is inplace-activated. You can do this by overriding the DoVerbInPlaceActivate() function in your CComControl- derived class:
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 Visual C++, 6.0. MORE INFORMATIONThis problem does not occur for windowed controls or if the control supports IQuickActivate. Steps to Reproduce Behavior
Additional query words:
Keywords : kbActiveX |
Last Reviewed: August 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |