第5 章: Windows Message Mapping
来源:互联网 发布:形参数组传值 java 编辑:程序博客网 时间:2024/05/17 07:58
第5 章: Windows Message Mapping
いち.消息流程
◙ WM_CREATE
first message to a view . use ONCreate 无法截获. 在 OnInitalUpdate可以使用, but this function maybe use more than one time .
◙ WM_CLOSE
OnClose to close the window, use CDocument::SaveModified for safe.
◙ WM_QUERYENDSESSION
It is sure that many programs are running when you want to close the windows. So, these session must be end before the windows are closed .
And then , using WM_QUERYENDSESSION in OnQueryEndSession function.
◙ WM_DESTROY
WM_DESTROY after WM_CLOSE .->OnDestroy.
the view is visable but it and its child are still active.
-> call base OnDestroy.
◙ WM_NCDESTROY
last message before window destroyed.
child has been destroyed .
->OnNCDestroy ->base OnNCDestroy.
The 动态 view use PostNCDestroy.
- 第5 章: Windows Message Mapping
- 第五章Windows Message Mapping Windows 消息映射(上)
- 第五章Windows Message Mapping Windows 消息映射(下)
- Programming With Microsoft Visual Studio C++.NET 6th Edition 读书笔记(1) Chapter 5: Windows Message Mapping
- 消息映射--Message Mapping
- 第5章 设计一个O/R Mapping框架
- Windows Message
- windows message
- windows Message
- Windows Message
- Windows Message
- Message Mapping ---- Imitate from Inside MFC
- Message Mapping(消息映射)(转)
- 深入浅出MFC Message Mapping 消息映射
- MFC中的消息映射(Message Mapping)
- Driver mapping in windows
- Windows driver mapping
- NHibernate文档翻译 第4章----O/R Mapping基础
- .NET技术 C# QA汇总
- 一些SQL的常用函数
- JSF历程:一个程序员的JavaWeb之路(转载,完整版本)
- 用VB实现“木马”式隐形运行程序
- OllyDbg Plugins: OllyScript v0.94 by SHaG
- 第5 章: Windows Message Mapping
- sscanf函数的高级用法
- ASP.NET 2.0 中类似QQ的弹出信息窗口
- javascript 打印
- javascript 应用技巧 显示当前日期
- 中国女人比美国女人好在哪?
- Invalidate的使用
- 广州服装批发市场一览
- 用批处理禁用文件