 This message-map facility is designed to be similar to virtual functions but has additional benefits not possible with C++ virtual functions.Message Maps maps the user action into the appropriate MFC class functions to handle it.The MFC Class which can handle message should be member of CCmdTarget, (i.e.)