windows程序设计 架构概述
来源:互联网 发布:北京纸箱厂 淘宝定做 编辑:程序博客网 时间:2024/04/27 23:58
An Architectural Overview
Every windowthat a program creates has an associated window procedure. This windowprocedure is a function that could be either in the program itself or in adynamic-link library. Windows sends a message to a window by calling the windowprocedure. The window procedure does some processing based on the message andthen returns control to Windows.
Moreprecisely, a window is always created based on a "window class." Thewindow class identifies the window procedure that processes messages to thewindow. The use of a window class allows multiple windows to be based on thesame window class and hence use the same window procedure. For example, all buttons in allWindows programs are based on the same window class. This window class isassociated with a window procedure located in a Windows dynamic-link librarythat processes messages to all the button windows.
When aWindows program begins execution, Windows creates a "message queue"for the program. This message queue stores messages to all the windows aprogram might create. A Windows application includes a short chunk of codecalled the "message loop" to retrieve these messages from the queueand dispatch them to the appropriate window procedure. Other messages are sentdirectly to the window procedure without being placed in the message queue.
- windows程序设计 架构概述
- 第一章 Windows程序设计概述
- MFC Windows程序设计-概述
- Windows Azure架构分析概述
- Windows Azure架构分析概述
- Windows Azure架构分析概述
- Windows Azure架构分析概述
- Windows Azure架构分析概述
- Windows Azure架构分析概述
- 嵌入式操作系统Windows CE之架构概述
- 嵌入式操作系统Windows CE之架构概述
- WINDOWS程序总体架构(摘取自WINDOWS程序设计)
- windows程序设计(21):剖析单文档架构
- [翻译]-Windows CE 程序设计 (3rd 版)--第5章 公共控件和Windows CE --概述
- [翻译]-Windows CE 程序设计 (3rd 版)--第5章 公共控件和Windows CE --概述
- 程序设计概述2
- 程序设计概述2
- 程序设计概述2
- Add Binary
- 中国崛起让西方乱了阵脚
- 从实例理解Struts2
- 日经社説 20150331 人口減見据えた国土計画に
- [IOS 开发] 9个超有用小技巧
- windows程序设计 架构概述
- 图的实现
- 京东大数据平台产品体系揭秘
- 一张图弄明白开源协议-GPL、BSD、MIT、Mozilla、Apache和LGPL 之间的区别
- 手机开门——门禁系统进入“互联网+”时代
- ubuntu 关闭apahce的php错误提示,服务器使用
- Deep Learning(深度学习)学习笔记整理系列之LeNet-5卷积参数个人理解
- 日经社説 20150331 普天間移設を法廷で争うのは筋違いだ
- tomcat(错误二) tomcat端口被占用了的解决办法