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.
Note
The Microsoft Foundation Classes (MFC) library continues to be supported. However, we're no longer adding features or updating the documentation.
Each framework class that can receive messages or commands has its own "message map." The framework uses message maps to connect messages and commands to their handler functions. Any class derived from class CCmdTarget can have a message map. Other articles explain message maps in detail and describe how to use them.
In spite of the name "message map," message maps handle both messages and commands — all three categories of messages listed in Message Categories.