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

  • 游戏架构设计与策划基础
    和游戏相关的书籍,一本很不错的书籍,推荐给大家(About game,it is a good book, you can have!!)
    2020-06-23 09:40:02下载
    积分:1
  • PTZ
    ptz 云台控制软件, 内带C++ 源码(ptz PTZ control software, which brought C++ source)
    2013-07-27 14:58:53下载
    积分:1
  • junzhilvbo
    均值滤波模块,可以单独使用,且还能与其他模块配套使用。(Mean filter module can be used alone, and also supporting the use of other modules.)
    2009-06-04 08:26:04下载
    积分:1
  • cellular auto machine
    元胞自动机模型,用于模拟交通流,内容为文献,需要使用caj viewer打开(Cellular automata model for simulating traffic flow, says the literature, requires the use of caj viewer opens)
    2014-02-08 10:33:50下载
    积分:1
  • CodeRainTest
    很漂亮的代码雨,为什么一定要20字啊,好无赖啊(The code is very beautiful rain, why must 20 words, ah, ah good rogue)
    2013-12-26 19:14:53下载
    积分:1
  • PopManu
    VC++实现在列表控件中添加右键弹出菜单PopManu实例源代码,测试时请把PopManu.exe拷贝至根目录下,以保证Access数据库连接正确,否则实例不能运行(VC++ Add button pop-up menu PopManu source code examples in the list control, test PopManu.exe copied to the root directory, to ensure that the Access database is properly connected, otherwise it can not run an instance of)
    2013-05-19 10:37:16下载
    积分:1
  • libbt-1.05
    一个用于BT下载的lib A protocol designed to decrease load on web/ftp servers by using P2P technology.(One for the BT download libA protocol designed to decrease load on web/ftp servers by using P2P technology.)
    2007-12-18 22:30:45下载
    积分:1
  • mac
    使用C++代码编写获取计算机mac地址程序,返回为Char指针(Written in C++ code to get mac address computer program, returns a pointer to a Char)
    2012-02-01 17:31:27下载
    积分:1
  • VB_NET.
    vb编程实练教程,分类教程 讲解详细 希望对大家有帮助(vb.net)
    2010-05-23 11:38:25下载
    积分:1
  • ydcz
    这是我大一时候做的一个影牒出租课设 基本完成了功能 不过有很多值得完善的地方 不过我觉得对指针的学习很有帮助(This is the first year when I do a video rental ultimatum to complete basic courses located in a functional but there are many worthy perfect place But I think that the right learning useful pointer)
    2007-05-30 11:24:57下载
    积分:1
  • 696516资源总数
  • 106562会员总数
  • 4今日下载