The information in this article applies to:
SYMPTOMSWhen creating an MDI Active Document Server using the AppWizard if any of the Child Frame window styles are adjusted (using the Advanced button in the wizard) a set of style flags will be generated for the CChildFrame class which includes the WS_VISIBLE flag. This causes problems when documents created by this application are loaded in an Active Document Container, such as Internet Explorer. If the ActiveDoc Server application is running when one of its documents is loaded into a container, such as Internet Explorer, the loaded document will also be visible in the server application. Otherwise, if the server application is not running and a document is loaded into a container, the server application will continue as a process after the document, or even the container, is unloaded. CAUSEThe cause is the WS_VISIBLE flag addition to the Child Frame. Active Document Server child windows should not have this flag because their visibility is controlled by the manner in which they are instantiated. RESOLUTIONRemove the WS_VISIBLE flag from the style group in CChildFrame::PreCreateWindow(). STATUSMicrosoft is researching this problem and will post new information when it becomes available MORE INFORMATIONSteps to Reproduce Behavior
Following are the two primary scenarios in which an error will occur once the application has been generated and a document created:
Additional query words:
Keywords : kbActiveDocs kbMFC kbVC500bug kbVC600bug kbGrpMFCATL |
Last Reviewed: June 14, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |