Share via


BEGIN_DHTMLEDITING_CMDMAP

 

Starts the definition of a DHTML editing command map within a class.

Syntax

BEGIN_DHTMLEDITING_CMDMAP(
className
)

Parameters

  • className
    The name of the class containing the DHTML editing command map. This class should derive directly or indirectly from CHtmlEditView and include the DECLARE_DHTMLEDITING_CMDMAP macro within its class definition.

Remarks

Add a DHTML editing command map to your class to map user interface commands to HTML editing commands.

Place the BEGIN_DHTMLEDITING_CMDMAP macro in the class's implementation (.cpp) file followed by DHTMLEDITING_CMD_ENTRY macros for the commands the class is to map (for example, from ID_EDIT_CUT to IDM_CUT). Use the END_DHTMLEDITING_CMDMAP macro to mark the end of the event map.

Requirements

Header: afxhtml.h

See Also

MFC Macros and Globals
DHTML Editing Command Maps