共用方式為


Macros, Global Functions, and Global Variables

 

The topics in this section provide descriptions of the global functions, global variables, and macros in the MFC library.

Note

Many global functions start with the prefix "Afx" — but some, such as the dialog data exchange (DDX) functions and many of the database functions, deviate from this convention. All global variables start with the prefix "afx". Macros do not start with any particular prefix, but they are written all in uppercase.

The MFC library and the Active Template Library (ATL) share string conversion macros. See String Conversion Macros in the ATL documentation for a discussion of these macros.

For information on the debug version of the C run-time library and diagnostic functions, see Debug Routines, in the Run-Time Library Reference.

See Also

MFC Macros and Globals