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

  • SS_SYN
    时域量化码字,基于时间间隙和DSP的信道编程(time-domain code word to quantify, because of the time gap and the channel DSP programming)
    2007-05-14 17:25:02下载
    积分:1
  • calculater
    C++ MFC (Visual Studio 2010)具有图形界面的应用程序——简单的计算器(C++ MFC (Visual Studio 2010) with a graphical interface applications- simple calculator)
    2015-05-07 20:26:48下载
    积分:1
  • yuanma
    C_C++程序设计导论(第二版)附书源码(C_C++ programming design introduction (second edition) source code)
    2013-07-05 17:08:13下载
    积分:1
  • snmpNotifyFilterTable_data_access
    ancillary codes for managing filters
    2011-11-23 20:37:50下载
    积分:1
  • DoubleNetUDP
    UDP方式双网冗余程序,一网卡断开,另一网卡自动连接,从而保证通讯正常(UDP mode dual-network redundancy procedures, disconnect a network card, another card to connect automatically to ensure the normal communication)
    2009-07-15 21:57:13下载
    积分:1
  • AdoCtrlAccess
    vc ADO控制Access数据库的程序源码,很不错的demo(vc ADO Access database program source code control, very good demo)
    2011-05-29 11:10:28下载
    积分:1
  • Grid
    一个VB6编写的表格控件,对与我们学习控件编写很不错。(Write a VB6 grid control, we can learn to write and very good control.)
    2016-04-06 10:55:19下载
    积分:1
  • 3242
    数字图像处理实习代码,包括图像转换,灰度变换、几何变换.....(Digital image processing practical code, including image conversion, gray-scale transformation, geometric transformation .....)
    2010-03-06 18:04:23下载
    积分:1
  • UseDlg
    说明:  将对话框资源封装到动态链接库中,实现界面的抽象封装(The dialog resource to the dynamic link library package, to achieve the abstract interface package)
    2011-03-06 16:14:31下载
    积分:1
  • ch3_3
    泡泡运动,通过载入泡泡图片和背景。运用动量守恒定律来实现泡泡的碰撞。可能缺少几个图片,大家自己补充一下就好(Bubble motion pictures and background by loading bubble. The use of the law of conservation of momentum to achieve bubble collisions. May be missing a few pictures, we like to add your own)
    2013-10-10 21:21:28下载
    积分:1
  • 696518资源总数
  • 105111会员总数
  • 25今日下载