Programming Windows with MFC学习笔记(一)
来源:互联网 发布:深圳市软件企业认定 编辑:程序博客网 时间:2024/04/29 22:23
Part Ⅰ Windows和MFC基础
Chapter 1 Hello, MFC
Microsoft公司的Microsoft Foundation Class Library(常被简称为MFC),抽象了Windows API,封装了操作系统的基本行为和一些可重用类的对象,使得Windows编程更简单。
Windows编程模式
1.Windows程序使用事件驱动编程模式,应用程序通过处理操作系统发给它的消息来响应事件。
2.Windows程序的入口点是一个名叫WinMain的函数,但是大多数的动作发生在名叫窗口过程(windows procedure)的函数中。WinMain函数创建窗口,然后进入消息循环,交替地检索消息,并分配到窗口过程。
3.当从消息队列中检索出WM_QUIT消息时,消息循环结束,WinMain函数返回,应用程序结束。
4.应用程序不处理的消息会发给一个名叫DefWindowProc的API函数。
消息,消息,还是消息
Windows定义了数百个不同的消息,它们大多以“WM_”开头。下面列出最常用的10个消息:
- Programming Windows with MFC学习笔记(一)
- programming windows with MFC
- Programming Computer Vision with Python (学习笔记一)
- Programming Windows, Fifth Edtion学习笔记(一)
- Programming Windows with MFC - Chapter 12 Toolbars
- The study of Programming Windows with MFC
- Introduction to 3D Game Programming with DirectX 11学习笔记 5 渲染管线(一)
- MFC学习笔记(一):windows程序原理
- MFC学习笔记一,windows应用程序
- 学习笔记 Real COM with the MFC Library (译一)
- Programming With OC(一)
- MFC 学习笔记(一)
- MFC学习笔记(一)
- MFC学习笔记(一)
- MFC学习笔记(一)
- Programming Computer Vision with Python (学习笔记二)
- Programming Computer Vision with Python (学习笔记三)
- Programming Computer Vision with Python (学习笔记四)
- 第一节:C语言基本字符集
- 高职副教授职称评定条件
- 驱动程序开发
- 为你的VB程序程序加密
- 信息安全(今天所学)
- Programming Windows with MFC学习笔记(一)
- 汇编基础知识一览
- 多线程的基本概念及其简单应用
- 开门见山
- oralce数据库中的SQL语句的优化
- Asp.net+Xml开发网络硬盘(转)
- 贷款结息优化
- waiting deadline
- 局域网内基于WEB的文件传输解决方案详解(转)