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

  • VedioTest
    Windows串口编程实例,封装了串口类,很不错的一个例子,希望对初学者有用(Windows serial programming examples, encapsulates the serial type, a very good example, I hope useful for beginners)
    2011-10-20 11:22:08下载
    积分:1
  • QR
    说明:  labview调用dll实现QR二维码生成,包含dll说明等,可作为子vi直接使用-LabVIEW(calls the DLL implementation of QR code generation, including DLL, can be directly used as a sub VI)
    2014-12-29 14:11:59下载
    积分:1
  • PLAYER
    播放器,能播放几种格式的播放器,只是界面比较简单,(Player, can play several formats player, but the interface is relatively simple,)
    2007-12-10 12:51:07下载
    积分:1
  • AddressList
    提供通讯录成员的查询、增加、更新及删除等功能。(Provide contacts membership query, add, update, and delete functions.)
    2013-09-24 19:26:07下载
    积分:1
  • asdd
    在Windows的托盘上添加一个光驱按钮(In the Windows tray button to add a CD-ROM)
    2016-02-15 01:50:37下载
    积分:1
  • test_grafix
    说明:  动态绘图,并将结果保存在数据表格中。从CODEPROJECT上下载的。(Dynamic graphics, and the results stored in the data table. Downloaded from the CODEPROJECT.)
    2008-10-04 11:34:41下载
    积分:1
  • 6645678
    在文档 视图程序中加入闪屏,VC++编程精选学习源码,很好的参考资料。(Join the splash screen in the document view program, VC++ programming featured learning source code, a good reference.)
    2013-11-19 18:55:34下载
    积分:1
  • Predictive_Model_Analysis
    以由科学数据构成的大型二维数据表为对象,运用预测模型分析方法,实现语义压缩。 用MFC框架建立了一个基于上述方法的压缩解压工具应用程序。(Posed by the scientific data of large-scale two-dimensional data table for the object, the use of prediction model analysis, the realization of semantic compression. MFC framework with the establishment of a method based on the above-mentioned compression decompression tool applications.)
    2007-09-09 12:52:34下载
    积分:1
  • Windows.Programming.Windows.Programming.Book
    Windows.Programming.Windows.Programming.Book.Source Collection GDI Working, Device Context, Resource Handling, The Child Windows..
    2009-09-30 18:37:40下载
    积分:1
  • Directshow(SDK)study
    一个基于directshow的学习笔记功能强大,仅供参考(Directshow based the powerful study notes, for reference only)
    2013-03-25 13:18:36下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载