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

  • searchfolder
    VC 实现搜索文件夹对话框。。还可以。。(Search Folders)
    2010-08-08 11:45:03下载
    积分:1
  • CtrlIPClt
    网络方面关于ip的得到与获取方面的代码,哈哈哈 (ip on the network and get access to the area code, Ha Ha Ha)
    2006-11-14 11:08:37下载
    积分:1
  • HomeAutomation
    This document accompanies the Texas Instruments Z-Stack™ solution for use with SmartRF05 and CC2530EM Evaluation Boards. Z-Stack is a complete protocol stack and application development solution that conforms to ZigBee Alliance standards (www.zigbee.org).
    2014-03-12 14:35:38下载
    积分:1
  • BlueTooth4.0
    这是蓝牙4.0的规范说明文档,对于了解4.0协议有所帮助。(This is the Bluetooth 4.0 specification document helpful for understanding the 4.0 protocol.)
    2013-10-14 21:50:52下载
    积分:1
  • duoboxinfasengqi
    这是一个多波形发生器程序,可以产生实验室常用的波形(This is a multi-waveform generator procedure, can produce waveforms commonly used laboratory)
    2010-07-05 10:09:05下载
    积分:1
  • dx9_spot_light
    说明:  DirectX9.0 编程基础 点光源(DirectX 9.0 basis points Source Programming)
    2006-01-14 23:26:11下载
    积分:1
  • ld
    说明:  数据通信的课程设计,用于实现AMI码等等在数据通信中实用的编码。(Data communication curriculum design, code, etc. used to implement AMI useful in data communications code.)
    2011-04-30 20:12:38下载
    积分:1
  • chapter03
    Windows驱动开发技术详解 第三章源码(Detailed Windows driver development techniques Chapter Source)
    2010-12-22 16:19:45下载
    积分:1
  • AI_Textbook
    Artificial Intelligence For Game Developers
    2009-12-29 18:24:42下载
    积分:1
  • vlsmaddr
    本源碼是一個用從Internet的Web頁面上得到Email地址,采用多線程遞歸算法(This source code is a Web page is available from the Internet, get Email address, using a recursive algorithm for multi-threaded)
    2009-09-22 17:30:18下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载