(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 262
下载积分: 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 个回复

  • CheatDetectionSRC
    应用层反外挂模块,探测恶意外挂,最反外挂人员有一定帮助(Anti-plug-in application layer module, to detect malicious plug-in)
    2011-09-07 12:57:56下载
    积分:1
  • Wireless-collaborative-network
    无线协作网络中存在干扰时的中继选择协议 无线协作网络中存在干扰时的中继选择协议(Wireless collaborative network exists in the relay selection protocol interference)
    2011-04-26 23:15:59下载
    积分:1
  • 温度传感器设计指南
    嵌入式资料温度传感器设计指南全部知识点都在这里(Guidelines for temperature sensor design)
    2020-06-17 04:40:01下载
    积分:1
  • MyProjects
    使用MFC ODBC和LISTCONTROL控件显示数据库表内容(Use MFC ODBC and LISTCONTROL control display the contents of database tables)
    2007-12-18 15:24:47下载
    积分:1
  • GetHardDiskId
    获取硬盘序列号的动态库与调用源码! 可以获得所有硬盘的序列号,兼容2000/XP/2003操作系统!(Get hard drive serial number of the dynamic library and call the source! Access to all the hard drive serial number, compatible with 2000/XP/2003 operating system!)
    2020-09-05 16:48:05下载
    积分:1
  • smart_directdraw_demo
    说明:  这是一个对DirectDraw接口进行封装的类库,使你可以更加快速、容易地进入DirectDraw的世界。 (this is a DirectDraw interface class library package, so you can more rapidly, easier access to DirectDraw world.)
    2006-02-23 15:05:34下载
    积分:1
  • kmeans_wsn
    无线传感器网络中使用kmeans算法对网络节点进行分簇(wsn kmeans)
    2020-12-07 22:19:20下载
    积分:1
  • PCA-SIFT
    一个基于matlab语言的编程,可以实现对人脸的识别算法(A matlab-based programming language can be achieved on the human face recognition algorithm)
    2010-01-05 09:55:24下载
    积分:1
  • graphicload
    Tutorial on how to Use Graphic on Visual Basic
    2010-12-15 16:38:17下载
    积分:1
  • Fire
    利用OpenGL写的模拟火焰代码,模拟水纹代码,基于粒子算法的(The use of OpenGL code written in flame simulation, simulation水纹code algorithm based on particle)
    2009-07-02 18:03:46下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载