Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The following MFC features are new for Visual C++ 6.0.
For MFC issues that may affect porting to Visual C++ 6.0, see .
Active Document Containment
provides a single frame in which to work with documents, instead of requiring you to create and use multiple application frames for each document type. It differs from basic OLE technology in that OLE works with embedded objects within a compound document in which only a single piece of content can be active. With Active Document Containment, you activate an entire document, that is, an entire application, including associated menus and toolbars, within the context of a single frame. AppWizard automates the MFC coding required for Active Document Containment. Active Document Containment is implemented by using the new class .
Dynamic HTML Control with CHtmlView
A new MFC class, , enables you to host Dynamic HTML within your MFC applications. CHtmlView allows your application's view to display HTML pages that contain Dynamic HTML just as a Web browser would display them. CHtmlView provides many browser features, including a history list, favorites (bookmarks), and security features. See .
Internet Explorer 4.0 Common Controls
MFC provides support for the latest Internet Explorer 4.0 common controls in classes such as , , , and . You can access these controls from the Controls toolbar in the Dialog editor. In addition to these new control classes, new functionality was added to most of the existing MFC common control classes. These modifications include flat toolbars, image list support for several control types (such as header, toolbar, and status bar controls), and new attributes. These new properties are also supported in the Dialog editor controls.
MFC Classes — New or Updated
For fixes and porting considerations, see in the Visual C++ Programmer's Guide.
MFC Globals — New
MFC contains two new globals. tests the passed SCODE to see if it is an error. This function can be used to check the return values of calls to OLE functions in your application. indicates the target of the dump output. This function can be used to generate an image of the current stack.
Wizard97 Style for Property Sheets
Wizard97 is a new wizard style for property sheets and property pages for Windows 98 and Windows NT 5.0. MFC implements this support in two new classes, and . These new classes support structures that are not compatible with and . The Wizard97 styles support background bitmaps and wide title headers, including subheaders, in a property page.
MFC OLE DB Class Added
The new class is an optional MFC class to wrap the OLE DB Consumer and Provider templates. This class incorporates the OLE DB templates into MFC. See AppWizard Enhancements and Data Access Support in the ATL Object Wizard.
MFC Performance Tuning
The static link size of the MFC library has been tuned.
New MFC Technical Notes