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

  • ADT-Adder-2.0
    adt adder for world of warcraft adt files
    2013-10-06 13:29:34下载
    积分:1
  • TestWord
    把word文件嵌入到系统中,不用另外打开其他程序,非常实用,可以应用到其他大型程序之中(Embedding word files into the system without opening other programs is very practical and can be applied to other large programs.)
    2019-05-06 17:26:43下载
    积分:1
  • cspdk
    微软CSP开发工具,学习CSP开发的好工具(CSP Microsoft development tools, learning a good tool for CSP development)
    2021-05-07 14:28:36下载
    积分:1
  • BroadCast_guanbo
    广播... 可以供初学网络编程的人参考... 完整 并且在winXP Visual C++6.0调试通过(... can Broadcasting Network Programming for the novice to the integrity of reference ... in winXP Visua l C by 6.0 Debugging)
    2007-04-20 19:42:31下载
    积分:1
  • Addressbook
    C++,在Dos中实现,用命令完成。代码简单明了!(C++)
    2010-12-05 11:25:50下载
    积分:1
  • ad hoc网络mac层协议修改和仿真源程序
    说明:  ad hoc MAC协议,修改及仿真后的代码,源程序,实现AD HOC网络通信(AD hoc MAC protocol, modified and simulated code, source program, AD hoc network communication)
    2020-04-09 10:42:34下载
    积分:1
  • socket
    socket编程实现服务端与客户端互发消息(exchange message between server and client)
    2011-04-29 01:32:40下载
    积分:1
  • ipv6
    ipv6地址转换器(ipv6 addresses converters)
    2004-07-14 15:02:10下载
    积分:1
  • Licai2.0
    个人理财系统是我用MFC做的一个有界面的程序,里面涉及了数据库编程,常用的控件等知识。里面的数据都存储在SQL Server2005里面,我用的是ado方式访问数据库,实现了记录日常每餐的消费食物,消费水平,并可以自动算出一段时间的消费金额。(Personal financial management system is an interface program I do with MFC, which involves a database programming, controls and other knowledge. Inside the data stored in SQL Server 2005 which I use ado to access the database, to record daily meal consumption of food, consumption levels, and can automatically calculate the amount of the consumer for a period of time.)
    2012-03-30 23:16:01下载
    积分:1
  • UniqueInstance
    VC6.0实现的,只能有一个程序实例运行的例子程序。两套实现方案。一个使用互斥对象,一个使用找到窗口句柄(VC6.0 achieved, there can be only one instance to run the example program. Two implementations. Use of a mutex object, a window handle to use to find)
    2013-12-07 11:08:13下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载