BEGIN_MESSAGE_MAP 下面是定义:什么事件发生时该执行哪个子程序。
是MFC定义的宏,表示开始一个消息的映射描述。
BEGIN_MESSAGE_MAP( theClass, baseClass )
Parameters
theClass
Specifies the name of the class whose message map this is.
baseClass
Specifies the name of the base class of theClass
Remarks
Use the BEGIN_MESSAGE_MAP macro to begin the definition of your message map.
In the implementation (.CPP)