<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[harithchen的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/harithchen</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; harithchen]]></copyright><item><title><![CDATA[[原创]MFC消息映射机制]]></title><link>https://blog.youkuaiyun.com/harithchen/article/details/74291768</link><guid>https://blog.youkuaiyun.com/harithchen/article/details/74291768</guid><author>harithchen</author><pubDate>Tue, 04 Jul 2017 10:14:06 +0800</pubDate><description><![CDATA[MFC程序是靠消息映射驱动的，当用户执行鼠标/键盘、移动窗口等操作时，windows系统基于这些动作生成消息并存入系统消息队列。MFC程序执行消息循环，取出属于自己的消息并执行这些消息。MFC处理消息时，先进行预处理，预处理返回真的消息则当前处理结束，继续抓取下一条消息进行处理，预处理返回假的消息再分发处理，进入MFC消息映射机制。]]></description><category></category></item></channel></rss>