How To Display an MFC Automation Document Automatically (140591)
The information in this article applies to:
- The Microsoft Foundation Classes (MFC), when used with:
- Microsoft Visual C++ for Windows, 16-bit edition 1.5
- Microsoft Visual C++ for Windows, 16-bit edition 1.51
- Microsoft Visual C++ for Windows, 16-bit edition 1.52
- Microsoft Visual C++, 32-bit Editions 2.0
- Microsoft Visual C++, 32-bit Editions 2.1
- Microsoft Visual C++, 32-bit Editions 2.2
- Microsoft Visual C++, 32-bit Editions 4.0
- Microsoft Visual C++, 32-bit Editions 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 4.2
- Microsoft Visual C++, 32-bit Professional Edition 4.2
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q140591 SUMMARY
Some OLE Automation servers, such as Microsoft Excel, automatically display
a worksheet when it is created through OLE Automation. OLE Automation
servers implemented in MFC do not display the document window by default
when the document object is created through OLE Automation. This article
explains how to add this behavior to a generic MFC OLE Automation server
created using AppWizard.
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbAutomation kbhowto KB140591 |
---|
|