最终mfc很愉快地找到了一个入口项, cwinapp::onfilenew(void) 要处理这个消息。继续进入到_afxdispatchcmdmsg中去看看。
|
afx_static bool afxapi _afxdispatchcmdmsg(ccmdtarget* ptarget, uint nid, int ncode, afx_pmsg pfn, void* pextra, uint_ptr nsig, afx_cmdhandlerinfo* phandlerinfo) // return true to stop routing { union messagemapfunctions mmf; mmf.pfn = pfn; bool bresult = true; // default is ok if (phandlerinfo != null) 首页
上页
下页
尾页
[1]
[2]
[3]
[4]
[5]
[6]
[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]
[15]
[16]
[17]
[18]
[19]
[20]
[21]
[22]
[23]
[24]
[25]
本文关键:温故而知新,学习MFC框架如何创建的过程
|