首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

请问windows相关编程

2012-05-27 
请教windows相关编程1.windows消息有优先级吗?2.windows有多少个消息队列?[解决办法]有的消息不放消息队列

请教windows相关编程
1.windows消息有优先级吗?

2.windows有多少个消息队列?

[解决办法]
有的消息不放消息队列

The system uses two methods to route messages to a window procedure: posting messages to a first-in, first-out queue called a message queue, a system-defined memory object that temporarily stores messages, and sending messages directly to a window procedure. 

Messages posted to a message queue are called queued messages. They are primarily the result of user input entered through the mouse or keyboard, such as WM_MOUSEMOVE, WM_LBUTTONDOWN, WM_KEYDOWN, and WM_CHAR messages. Other queued messages include the timer, paint, and quit messages: WM_TIMER, WM_PAINT, and WM_QUIT. Most other messages, which are sent directly to a window procedure, are called nonqueued messages. 


[解决办法]
《Windows核心编程》
《深入解析Windows操作系统-Windows Internals》

[解决办法]
见4楼

热点排行