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

  • Print
    该程序用MFC实现打印机的功能,对初学并口编程的学习者具有很好的指导意义(The program with MFC realize the function of the printer on parallel port programming novice learners with a good guide)
    2008-02-25 14:41:50下载
    积分:1
  • CPP
    西安交通大学本科生C++程序设计全程课件和两套模拟试题。适合自学 (Xi an Jiaotong University undergraduate C + + programming throughout courseware and two sets of mock examination papers. Suitable for self-study )
    2012-11-08 21:22:37下载
    积分:1
  • testdlg
    检测NAT类型的客户端,程序中指定了服务器IP地址,用户可以自行修改(Detect NAT type of the client, the program specifies the server IP address, the user can modify)
    2013-08-22 10:16:36下载
    积分:1
  • IOCP
    实现服务器发送结构体到客户端 联合开发网 - pudn.com
    2012-02-14 14:51:44下载
    积分:1
  • HTTPGetPost_src1
    说明:  httppost的实现方法基于visualc++实现(httppost based on the method to achieve visualc)
    2006-04-22 21:50:55下载
    积分:1
  • uff-format
    uff文件处理,处理DASP生成的uff文档(uff file format)
    2012-11-09 22:39:08下载
    积分:1
  • chart2d-scrolltm
    Chart2d 滚动 多轴 具有多重缩放功能,并能恢复至默认状态(Chart2d scrool multiaxis)
    2011-10-14 10:17:09下载
    积分:1
  • FTool
    说明:  使用MFC技术演示了如何安装和加载驱动,驱动代码在另外一个上传文件中(Using MFC technology to demonstrate how to install and load drivers)
    2019-03-08 10:46:57下载
    积分:1
  • NRF24L01-sendtemperature
    nrf24l01 ds18b20温度发送程序(nrf24l01 ds18b20 temperature sender)
    2011-10-29 14:22:03下载
    积分:1
  • c-P-P-pointers-and-references-
    C语言的精华和灵魂是“指针”,但运用的时候却比较容易出错。c++又引入了“引用”的概念,好多人不理解它们之间的区别,本人将结合自己的使用经验,给出一些编程的实例,简单阐述它们之间的区别。(C language, the essence and the soul is "pointer", but the use of it has been more prone to error. c++ and the introduction of the "reference" concept, a lot of people do not understand the difference between them, I will combine their experience, give some programming examples, briefly discusses the differences between them.)
    2013-06-25 14:53:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载