Visual Studio 6: The Complete Reference

Chapter 22 - The Microsoft Foundation Class Library: Fundamentals

Visual C++ 6: The Complete Reference
Chris H. Pappas and William H. Murray, III
  Copyright 1998 The McGraw-Hill Companies

Key MFC Classes
The following is an abbreviated list of important 32-bit MFC classes derived from Cobject:
CObject   CException       CMemoryException       CFileException       CArchiveException       CDaoException       CNotSupportedException       CUserException       COleException       COleDispatchException       CDBException       CResourceException   CFile       CStdioFile       CMemFile       COleStreamFile       CSocketFile   CDC
       CClientDC       CWindowDC       CPaintDC       CMetaFileDC   CGdiObject       CPen       CBrush       CFont       CBitmap       CPalette       CRgn   CMenu   CArray   CByteArray   CWordArray   CDWordArray   CPtrArray   CObArray   CStringArray   CUIntArray   CList   CPtrList
   CObList   CStringList   CMap   CMapWordToPtr   CMapPtrToWord   CMapPtrToPtr   CMapWordToOb   CMapStringToPtr   CMapStringToOb   CMapStringToString   CDatabase   CRecordSet   CLongBinary
   CCmdTarget       CWinThread           CWinApp               COleControlModule        CDocTemplate           CSingleDocTemplate           CMultiDocTemplate       COleObjectFactory           COleTemplateServer       COleDataSource       COleDropSource       COleDropTarget       COleMessageFilter       CConnectionPoint   CDocument       COleDocument           COleLinkingDoc               COleServerDoc                   CRichEditDoc       CDocItem       COleClientItem           CRichEditCntrItem       COleServerItem
   CWnd       CFrameWnd           CMDIChildWnd           CMDIFrameWnd           CMiniFrameWnd           COleIPFrameWnd       CControlBar           CToolBar           CStatusBar           CDialogBar           COleResizeBar       CSplitterWnd       CPropertySheet       CDialog           CCommonDialog               CColorDialog               CFileDialog               CFindReplaceDialog               CFontDialog               COleDialog                   COleInsertDialog                   COleChangeIconDialog
                   COlePasteSpecialDialog                   COleConvertDialog                   COleBusyDialog                   COleLinksDialog
                       COleUpdateDialog                   COleChangeSourceDialog                   COlePageSetupDialog                   CPrintDialog           COlePropertyPage           CPropertyPage
       CView           CCtrlView               CEditView               CListView               CRichEditView               CTreeView       CScrollView           CFormView               CDaoRecordView               CRecordView       CAnimateCtrl       CButton           CBitmapButton       CComboBox       CEdit       CHeaderCtrl       CHotKeyCtrl       CListBox           CCheckListBox           CDragListBox
       CListCtrl       COleControl       CProgresCtrl       CRichEditCtrl       CScrollBar       CSliderCtrl       CSpinButtonCtrl       CStatic       CStatusBarCtrl       CTabCtrl       CToolbarCtrl       CToolTipCtrl       CTreeCtrl
From this list you can see and understand the general strategy in deriving one class or a group of classes from a parent class. The next list is an abbreviated list of the 32-bit runtime object model support provided by the MFC:
CArchiveCDumpContextCRuntimeClassCStringCTimeCTimeSpanCRectCPointCSizeCFileStatusCCreateContextCPrintInfoCMemoryStateCCommandLineInfoCDataExchangeCFieldExchangeCCmdUICDataFieldExchangeCWaitCursor
CFontHolderCPictureHolderCOleCurrencyCOleDateTimeCOleDateTimeSpanCOleVariantCMultiLockCSingleLockCPropExchangeCOleDataObjectCOleDispatchDriverCRectTrackerCTypedPtrArrayCTypedPtrListCTypedPtrMap
You’ll want to put a bookmark at this spot. These two lists will help you as you continue to study the MFC library in the remaining chapters of this book.

Books24x7.com, Inc 2000 –  

Категории