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

  • VCPP-create-a-application-window
    VC++语言创建一个普通的应用程序窗口.为了使PlaySound函数能正常使用,编译前应做以下设置:单击Project->Setting->Link选项卡,在Category中选中General,然后在Object/Library Modules文本框中,我们看到有很多.lib的库文件,在其最后添加代码" winmm.lib"(windows多媒体库)后,单击OK。(VC++ language to create a common application window in order to make proper use PlaySound function, should be done before compiling the following settings: Click Project-> Setting-> Link tab, select General in the Category, and then in the Object/Library Modules text box, we see a lot. lib library file, add the code in its final " winmm.lib" (windows multimedia library), click OK.)
    2013-11-24 14:23:38下载
    积分:1
  • 使用DirectShow播放Mpeg等媒体类型
    说明:  使用DirectShow播放Mpeg等媒体类型 VC开发环境(use DirectShow broadcast media types such as MPEG VC Development Environment)
    2005-11-07 20:11:08下载
    积分:1
  • Zen_Macd
    缠论MACD面积MT4公式,给广大缠友提供一个合适的指标公式。祝愿天下缠友早日破缠得禅(On the MT4 wrapped formula tied to the majority of Friends provide a suitable index formula. Friends wish the world wrapped early break Zen Chande)
    2015-03-20 22:15:20下载
    积分:1
  • (Access)
    mfc数据库用mfc方式实现了数据库功能(mfc database)
    2020-10-30 22:49:56下载
    积分:1
  • VB_programme
    验证代码,验证代码,验证代码,验证代码,验证代码,验证代码(test programme,test programme,test programme,test programme)
    2011-11-17 21:53:09下载
    积分:1
  • TTSApp
    微软提供的语音编程示例程序,实现了文本朗读,口型匹配(Microsoft provides programming examples of the voice process, the realization of the text read, I type matching)
    2009-07-17 13:50:32下载
    积分:1
  • encoder
    基于stm32的IE2-512光电编码器初始化及计数功能,在智能车运动时可实现测距,测速,并通过PID进行反馈(Based IE2-512 photoelectric encoder initialization and counting functions stm32 in motion can be achieved when the smart car distance, speed, and through PID feedback)
    2014-08-13 13:51:22下载
    积分:1
  • CSpectrumAnalyzer_demo
    这个demo是对频谱进行分析的 可以实时的现实频谱曲线(This demo is a spectrum analysis of the realities of real-time spectrum curve)
    2008-03-20 13:16:51下载
    积分:1
  • WDM驱动序构造的若干方法及实例
    WDM驱动程序构造的若干方法及实例(WDM structure of a number of methods and examples)
    2005-01-29 11:09:02下载
    积分:1
  • OWNERDRAW_TAB
    实现自绘制标签按钮功能。本程序从CTabCtrl派生出一个CTabCtrlEx控件,用于实现标签控件的自绘制功能,让标签也五花八门吧!(Self-drawing button labels. This procedure CTabCtrl derived from a CTabCtrlEx control, label control for the achievement of self-mapping feature that lets you label a wide variety!)
    2009-07-02 23:59:27下载
    积分:1
  • 696518资源总数
  • 104349会员总数
  • 32今日下载