Which are the various message map macros ?
3441
28-Mar-2011
Updated on 16-Sep-2020
Amit Singh
28-Mar-2011A number of macros are used in message maps:- DECLARE_MESSAGE_MAP: used in the include file to declare that there will be a message map in the source file.- BEGIN MESSAGE MAP: marks the beginning of the message map in the source file.- END MESSAGE MAP: marks the end of the message map- ON_COMMAND: used to delegate the handling of a command to a function of a class.- ON_COMMAD_RANGS: used to handle a group of commands- ON_MESSAGE: used to delegate the handling of a user defined message to a function- ON_NOTIFY: used to handle the control notification message with some extra information and calls a member function of a class.