温故而知新,学习MFC框架如何创建的过程[15]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 liukaven 的 blog

最终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)

本文关键:温故而知新,学习MFC框架如何创建的过程
  相关方案
Google
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top