Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 1.25 KB

mapping-messages.md

File metadata and controls

25 lines (22 loc) · 1.25 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Mapping Messages | Microsoft Docs
11/04/2016
cpp-windows
article
C++
message maps [MFC], about message maps
mappings [MFC], commands
commands [MFC], mapping
command mapping [MFC]
message handling [MFC], connecting to handler functions
commands [MFC], connecting to handler functions
mappings [MFC], messages
messages [MFC], mapping
996f0652-0698-4b8c-b893-cdaa836d9d0f
9
mikeblome
mblome
ghogen

Mapping Messages

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.

See Also

Messages and Commands in the Framework