摘要: Notifies a rich edit control's parent window of a keyboard or mouse event in the control. A rich edit control sends this notification code in the form of a WM_NOTIFY message.C++复制EN_MSGFILTER pMsgFilter = (MSGFILTER *) lParam; ParameterslParamA MSGFILTER structure containing information about th 阅读全文
posted @ 2012-07-10 16:01 MarvinGeng 阅读(357) 评论(0) 推荐(0) 编辑
摘要: 摘要:在前面我们分析了控件通知消息WM_NOTIFY,和WM_NOTIFY紧密联系的还有一个MFC新特性:消息反射。本文中,我想就这个问题作一个全面的论述,如果有错误,还望各路大虾批评指正。 什么是消息反射? 在windows里面,子控件经常向父控件发送消息,例如很多子控件要绘制自己的背景,就可能向父窗口发送消息WM_CTLCOLOR。对于从子控件发来的消息,父控件有可能在处理之前,把消息返还给子控件处理,这样消息看起来就想是从父窗口反射回来一样,故此得名:消息反射。 消息反射的由来 在windows和MFC4.0版本一下,父窗口(通常是一个对话框)会对这些消息进行处理,换句话说,自控... 阅读全文
posted @ 2012-07-10 10:07 MarvinGeng 阅读(199) 评论(0) 推荐(0) 编辑
摘要: 原文http://www.codeproject.com/Articles/5709/Customized-Report-List-Control-With-In-Place-ComboIntroductionList control especially with the “report” style is one of the most commonly used controls in any UI.At times as a developer, we would like to be able toSelect from a list of items for the value o 阅读全文
posted @ 2012-07-10 09:34 MarvinGeng 阅读(528) 评论(0) 推荐(0) 编辑