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

  • LCD12864_SPI
    STM32F103驱动12864,无乱码,亲测可用,SPI通信(STM32F103 drive 12864, no garbled, pro test available, SPI communication)
    2021-04-21 10:18:49下载
    积分:1
  • qwww11
    基于 mfc的客户区截图程序 可以选择bmp的格式跟大小(Based on mfc client area screenshot program you can choose bmp format with size)
    2016-04-26 15:38:17下载
    积分:1
  • 增强 Edit 控件为日期输入控件
    增强 Edit 控件为日期输入控件(enhanced Edit Control date for the importation of Control)
    2004-10-18 19:56:56下载
    积分:1
  • Win32Cube
    DirectX编写绘制旋转的盒子,便于新手学习如何设置世界矩阵,投影举证(DirectX prepared draw the rotating box, easy for novices to learn how to set the world matrix, projection proof)
    2013-11-16 22:57:55下载
    积分:1
  • LDPC
    该程序给出了LDPC编译码程序的经典算法,即BP算法,性能比较好(The program gives the classic algorithm LDPC decoding procedures, namely BP algorithm, the performance is better)
    2013-06-13 15:42:39下载
    积分:1
  • ATM5
    C语言模拟ATM界面 C语言模拟ATM界面 C语言模拟ATM界面 (C language simulation of ATM interface C language simulation of the ATM Interface C language simulation of ATM interface)
    2013-01-20 14:23:52下载
    积分:1
  • CTreeItem
    CTreeItem类封装 目录树功能,可实现对目录树的各项需求!(CTreeItem Class from it we can feet comfile)
    2012-05-08 15:43:44下载
    积分:1
  • Example2
    主要描述的是一个界面的问题,大家可以编译一下!看看其功能特点!(The main interface is a description of the problem, we can compile click! Take a look at its features!)
    2009-02-15 20:08:59下载
    积分:1
  • MSCommtest3.0
    MSComm控件串口通信编程,第一次作业。(MSComm control serial communication programming, the first operation.)
    2011-12-05 22:14:26下载
    积分:1
  • Field Coupling
    EDEM离散元软件流场单向耦合api编程模版(Flow field coupling API programming template)
    2017-08-03 00:33:59下载
    积分:1
  • 696518资源总数
  • 105282会员总数
  • 11今日下载