The information in this article applies to:
SYMPTOMSWhen an MFC Active Document is inserted into a frame in Internet Explorer 4.0, the toolbar is removed from the Active Document when focus is set to another frame. Even when focus is set back to the frame that contains the Active Document, the toolbar does not reappear. CAUSEActive Documents are UI Deactivated when focus is set to another frame, but MFC-based Active Documents are not automatically UI Activated when focus is set back to the frame containing the document. STATUSThis behavior is by design. MORE INFORMATION
In order for the toolbar to reappear when the focus is set to the frame
containing the Active Document, you must override CWnd::OnMouseActivate()
in your CView-derived class and call COleServerDoc::ActivateInPlace().
MyView.h
MyView.cpp
Additional query words:
Keywords : kbcode kbole kbMFC kbVC AXSDKControls |
Last Reviewed: August 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |