读书人

请问windows相关编程

发布时间: 2012-05-27 05:42:30 作者: rapoo

请教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楼

读书人网 >C++

热点推荐