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

  • TransServer
    vc——服务器TransServer的程序源码,值得一看!(vc- server TransServer the program source code, worth a visit!)
    2011-08-23 22:51:08下载
    积分:1
  • mfctestduilib
    MFC与duilib混合编程,duilib窗口与mfc窗口互相调用。(MFC with duilib mixed programming, duilib windows with mfc window to call each other.)
    2013-08-29 14:30:38下载
    积分:1
  • pcb4
    可实现对进程的模拟管理,用VC编的,结果可间隔一秒显示(can be simulated in the process of management, VC series, the results can be shown at one-second intervals)
    2006-09-17 10:51:01下载
    积分:1
  • Windows_API
    非常实用的Windows API参考手册,可以方便开发者快速查找所需API(Very useful Windows API reference manual, you can easily find the API developers to quickly)
    2010-05-16 18:35:32下载
    积分:1
  • Shutdown
    设置倒计时关机程序的源码,会显示关机倒计时间,可以取消关机任务(Set the source countdown shutdown, shut down the remaining time is displayed, you can cancel the shutdown task)
    2010-10-11 11:30:10下载
    积分:1
  • vcText
    用VC++编写一个CDC文字处理程序的代码,通过本程序大家可掌握如何产生自定义字体和自定义插入符,熟悉对CString类的使用。讲解定时器的使用和DrawText函数的巧妙运用以及CDC的裁减功能。(Using VC++ to write a word processing program code CDC, through this process we can learn how to create custom fonts and custom insert a symbol, familiar with the use of the CString class. Explain the use of timers and the clever use of DrawText function and the reduction of CDC function.)
    2010-05-18 18:18:01下载
    积分:1
  • usb_20
    usb2.0协议相关文档,有助于程序开发,请参考上传得代码使用。(USB2.0 protocol-related documents, contribute to program development, please refer to upload a code to use.)
    2008-07-22 01:53:22下载
    积分:1
  • liujiaopei
    MFC窗体程序,计算机图形学,在视窗中显示文字并可以移动。(MFC form, computer graphics, display text in a window and can be moved.)
    2014-01-02 22:47:46下载
    积分:1
  • VCPP-QrCode
    Vc++ 6.0 qrcode二维码代码封装,希望有帮助
    2014-02-11 16:23:06下载
    积分:1
  • yuzhifenge
    说明:  标识物体测量面积周长VC++源代码,希望对大家有用(Identify objects, measuring an area of perimeter VC++ source code, want to be useful to everyone)
    2021-03-04 18:49:32下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载