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

  • hyperedit_demo
    multiple hyperlinks with syntax highlighting for edit control.
    2020-06-21 16:00:01下载
    积分:1
  • Source-code-in-C-Sharp
    说明:  记事本源代码C#,大家可以看看,简介易上手(Notepad source code C#, we can see, Introduction approachable)
    2011-04-08 08:52:55下载
    积分:1
  • irrlichtCustomSceneNode
    irrlicht的CustomSceneNode的例子,需要的请下载(irrlicht the CustomSceneNode example, the need to download)
    2007-04-10 16:08:45下载
    积分:1
  • VB-main
    vb函数大全,有大部分内容。希望对大家有用(vb function Daquan, the hope that useful)
    2012-06-13 13:52:14下载
    积分:1
  • Visual-CPP
    这是一本C++基础教材,适合c++初学者使用,本书易于理解,通俗易懂。(a basic book for the c++ learners who is a beginner,this is a basic book,easy to learn and easy to understand.)
    2012-07-13 17:01:52下载
    积分:1
  • cat
    短信猫所需要的dll文件,h文件以及lib文件共参考。(SMS cat dll files, h files, and lib files of reference.)
    2012-12-22 15:12:04下载
    积分:1
  • acess
    使用MFC编写的access数据库读写,记录,搜索,提醒功能的软件(Written using MFC database access to read and write, record, search, to remind the features of the software)
    2012-02-07 23:53:50下载
    积分:1
  • smartsim
    Ok program for enginiring themes
    2013-04-12 14:00:30下载
    积分:1
  • mine
    自己编的扫雷的小程序,很用心的编写,对新手应该会有帮助。里面的小砖块、计数值显示都是小控件,以后有类似用途应该都用得上。控件以动态库的形式。(Own a small demining program, very hard to write, it should be helpful for the novice. Inside the small brick, the count display controls are small, after a similar purpose should all need them.)
    2015-08-31 23:57:05下载
    积分:1
  • HDraw
    使用VC++实现画板功能,使用MFC编程实现。内含有程序源代码。(Use VC++ achieve Sketchpad features, use MFC programming. Contained within the source code.)
    2013-12-06 18:12:55下载
    积分:1
  • 696518资源总数
  • 106208会员总数
  • 21今日下载