MFC 概念MFC Concepts

本部分提供了概念和基于任务的主题,帮助你使用 Microsoft 基础类 (MFC) 库进行编程。This section provides conceptual and task-based topics to help you program using the Microsoft Foundation Class (MFC) Library.

本节内容In This Section

常规 MFC 主题General MFC Topics
讨论 MFC 库的技术详细信息。Discusses the technical details of the MFC Library.

使用 CObjectUsing CObject
提供指向的链接 CObject ,该链接指向 MFC 中大多数类的基类。Provides links to using CObject, the base class for most classes in MFC.

集合Collections
讨论从 c + + 模板创建和不创建的集合类。Discusses collection classes created from and not created from C++ templates.

日期和时间Date and Time
提供指向主题的链接,这些主题介绍如何将日期和时间与 MFC 结合使用。Provides links to topics discussing using date and time with MFC.

文件Files
讨论 CFile 和如何处理 MFC 中的文件。Discusses CFile and how to handle files in MFC.

内存管理 (MFC) Memory Management (MFC)
介绍如何利用与内存管理相关的通用服务。Describes how to take advantage of the general-purpose services related to memory management.

消息处理和映射Message Handling and Mapping
介绍 MFC 框架如何处理消息和命令以及如何将它们连接到其处理程序函数。Describes how messages and commands are processed by the MFC framework and how to connect them to their handler functions.

序列化Serialization
介绍提供的序列化机制,以允许对象在程序运行之间保持不变。Explains the serialization mechanism provided to allow objects to persist between runs of your program.

MFC (的异常处理) Exception Handling (MFC)
介绍 MFC 中可用的异常处理机制。Explains the exception-handling mechanisms available in MFC.

MFC Internet 编程基础知识MFC Internet Programming Basics
讨论支持 Internet 编程的 MFC 类。Discusses the MFC classes that support Internet programming.

MFC Internet 编程任务MFC Internet Programming Tasks
讨论如何向应用程序添加 Internet 支持。Discusses how to add Internet support to your applications.

Unicode 和多字节字符集 (MBCS) 支持Unicode and Multibyte Character Set (MBCS) Support
说明如何将 MFC 和 ATL 支持用于 Unicode 和多字节字符集。Explains how to use MFC and ATL support for Unicode and multibyte character sets.

MFC COMMFC COM
讨论了用于支持 COM 的 MFC 子集,而大多数活动模板库 (ATL) 设计用于 COM 编程。Discusses a subset of MFC, which is designed to support COM, while most of the Active Template Library (ATL) is designed for COM programming.

使用 C++ 和 MFC 进行多线程编程Multithreading with C++ and MFC
描述什么是进程和线程,并讨论 MFC 的多线程处理方法。Describes what processes and threads are and discusses the MFC approach to multithreading.

MFC 中的 Windows 套接字Windows Sockets in MFC
涵盖 Windows 套接字的 MFC 实现。Covers the MFC implementation of Windows Sockets.

MFC 参考MFC Reference
提供 MFC 库参考材料,一组构成应用程序框架的类,它是为 Windows API 编写的应用程序框架。Provides reference material for the MFC Library, a set of classes that constitute an application framework, which is the framework of an application written for the Windows API.

MFC 示例MFC Samples
提供指向示例的链接,这些示例演示如何在桌面应用程序、Dll、数据库应用程序、控件、Web 应用程序等中使用 MFC。Provides links to samples that show how to use MFC in desktop applications, DLLs, database applications, controls, Web applications, and more.