3.4. MFC 2.0
MFC 2.0 was a 16-bit release that shipped with Visual C++ 1.0. It added the Document/View framework on top of MFC 1.0 and also added OLE 1.0 classes, message maps and common dialog classes. This was a 16-bit release released on 02/93.
MFC 2.0 Introduced These Classes:
General:
- CCreateContext
- CPrintInfo
- CDataExchange
- CCmdUI
Exceptions:
- CFileException
- COleException
Dialogs: [Note CModalDialog was nuked and functionality moved to CDialog, you can still see a #define CModalDialog CDialog in the header files]
- CDialog [not introduced here, but revamped to be a base for common dlgs]
- CFileDialog
- CColorDialog
- CFontDialog
- CPrintDialog
- CFindReplaceDialog
Windows Support: [Just new derivatives of CButton/CEdit and VBX class.]
- CButton
- CBitmapButton
- CEdit
- CHEdit
- CBEdit
- CVBControl
Document Architecture:
- CCmdTarget
- CWinApp [Moved in hierarchy, use to be derived from CObject]
- CDocTemplate
- CSingleDocTemplate
- CMultiDocTemplate
- CDocument
- COleDocument
- COleClientDoc
- COleServerDoc
Views:
- CView
- CScrollView
- CFormView
- CEditView
Control Bars:
- CControlBar
- CToolBar
- CStatusBar
- CDialogBar
- CSplitterWnd
OLE 1.0 Classes:
- COleServer
- COleTemplateServer
- CDocItem
- COleClientItem
- COleServerItem