(InWIN32,eachthreadcorrespondstoamessagequeue.Sinceathreadcanhaveseveralwindows,sonoteverywindowcorrespondstoamessagequeue.Thefollowingwordsshouldbea"theorem"toberemembered:"Theorem"allproduceamessagetoawindow,allthreadsinitiallycreatethewindowtreatment"Theorem"TwoWindowsonthescreenisacontrolforeachwindow,thereisthecorrespondingwindowfunction.Messagessentareusuallytwoways,first,SendMessage,PostMessagefirst) - IMDN开发者社群-imdn.cn">
登录
首页 » Visual C++ » win32programming

win32programming

于 2010-08-26 发布 文件大小:239KB
0 232
下载积分: 1 下载次数: 29

代码说明:

  在WIN32中,每一个线程都对应着一个消息队列。由于一个线程可以产生数个窗口,所以并不是每个窗 口都对应着一个消息队列。下列几句话应该作为"定理"被记住: "定理" 一 所有产生给某个窗口的消息,都先由创建这个窗口的线程处理; "定理" 二 Windows屏幕上的每一个控件都是一个窗口,有对应的窗口函数。消息的发送通常有两种方式,一是SendMessage,一是PostMessage(In WIN32, each thread corresponds to a message queue. Since a thread can have several windows, so not every window corresponds to a message queue. The following words should be a " theorem" to be remembered: " Theorem" all produce a message to a window, all threads initially create the window treatment " Theorem" Two Windows on the screen is a control for each window, there is the corresponding window function. Messages sent are usually two ways, first, SendMessage, PostMessage first)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • NICControlClass
    枚举所有网卡、获取设置网卡参数、检查网卡状态、启禁网卡(Enum all NICs,get NIC paramates,check NIC state,enable/disable nic)
    2010-10-13 12:35:40下载
    积分:1
  • csharp-logger-0.1.1
    C#的日志工具,思路log4j跟一致.请参阅本站关于log4j的其他资源(C# log tools, consistent with the idea of log4j. Please refer to this site on other resources log4j)
    2009-04-11 21:23:42下载
    积分:1
  • sourcenode
    以点为基础,对基于TDMA的adhoc网络进行复用的时隙分配。(Point based on time slots multiplexed TDMA-based adhoc network distribution.)
    2016-03-17 14:03:50下载
    积分:1
  • CommonControls
    这是一个对mfc各种控件详细介绍的源文件,很好很全面,希望对大家有帮助(This is a mfc details of various control, the source files, a very good very comprehensive, we want to help)
    2009-12-21 10:27:40下载
    积分:1
  • 04-Qt4-Database-Applications
    Qt4数据库应用-东软培训资料,对初学者很有用。这是第四部分。(Qt4 database applications- Neusoft training materials, useful for beginners. This is the fourth part.)
    2013-07-29 09:17:14下载
    积分:1
  • 6919470
    采用WINDDOWSSDK写的按钮界面,其中详细的展现了按钮控件的各个属性的操作(Using the button interface written by WINDDOWSSDK, which details the button control of the various properties of the operation)
    2018-10-27 19:15:10下载
    积分:1
  • VB-GPS
    用VB编程提取GPS信息的程序,如位置、速度等信息(Programming with VB extract GPS information programs, such as position, velocity and other information)
    2010-01-27 17:45:46下载
    积分:1
  • Adaptive-median-filter
    基于vc++的自适应中值滤波器的代码,能用于对相位图的滤波。(The adaptive median filter code can be used for the filtering of the phase diagram.)
    2021-02-26 19:59:37下载
    积分:1
  • comm
    Windows串口编程 (Windows serial programming)
    2020-06-30 11:20:02下载
    积分:1
  • facility
    用Cplex求解一个仓库选址的问题,目标是使总成本最小。(a program using Cplex on C++ platform to solve a warehouse site selection problem to minimize total costs.)
    2021-03-06 21:29:31下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载