MFC消息映射宏展开后代码

来源:互联网 发布:python抓取均线多头 编辑:程序博客网 时间:2024/06/06 19:21
const AFX_MSGMAP* theClass::GetMessageMap() const { return GetThisMessageMap(); } const AFX_MSGMAP* PASCAL theClass::GetThisMessageMap() { typedef theClass ThisClass;   typedef baseClass TheBaseClass;   static const AFX_MSGMAP_ENTRY _messageEntries[] = {/*一系列映射信息。。。。。*/{0, 0, 0, 0, AfxSig_end, (AFX_PMSG)0 } }; static const AFX_MSGMAP messageMap = { &TheBaseClass::GetThisMessageMap, &_messageEntries[0] }; return &messageMap; }  


原创粉丝点击