The information in this article applies to:
SYMPTOMSIf you create an MFC AppWizard-generated ActiveX document container, insert a Microsoft Word document or Excel Spreadsheet, and move a toolbar from the top to the left side of the window, without dragging the toolbar through the main window, the toolbar will cover part of the document. CAUSEThis problem is caused by CFrameWnd::RecalcLayout() not being called when the toolbar is docked on the left side of the frame window. RESOLUTION
Force CFrameWnd::RecalcLayout() to be called from the OnShowControlBars() function of the COleDocObjectItem-derived class. Perform the following steps to do this:
STATUSMicrosoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. MORE INFORMATIONSteps to Reproduce Behavior
REFERENCES(c) Microsoft Corporation 1999, All Rights Reserved. Contributions by Bret Bentzinger, Microsoft Corporation. Additional query words:
Keywords : kbole kbActiveDocs kbActiveX kbAppToolBar kbContainer kbMFC KbUIDesign kbVC600bug |
Last Reviewed: June 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |