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

  • rsa_bb_src02
    ini adalah program C++
    2018-09-10 17:09:14下载
    积分:1
  • quick_stretch_sample
    bmp图像缩放源码,单文档模式,带缩放比例控制对话框.(bmp image scaling source, single-document model, with scaling control dialog box.)
    2008-06-23 14:55:59下载
    积分:1
  • 11.11
    扫描驱动相关的资料,包含配置文件和dll文件,是一部分11(Scan driver-related information, including configuration files and dll file is part of 11)
    2009-05-20 18:50:26下载
    积分:1
  • 1
    说明:  DSP如果是CE以上版本的需要用新的烧写库跟CMD文件(DSP )
    2011-07-05 21:28:29下载
    积分:1
  • 5-21xf
    CSOL游戏通用外挂,可以加速,透视.修改文件等(Csol game generic plug-in, can accelerate, perspective)
    2013-05-21 21:09:50下载
    积分:1
  • syn
    SYN Flood是当前最盛行的DoS(拒尽服务进攻)与DDoS(散布式拒尽服务进攻)的方法之一,这是一种利用TCP协议缺点,发送大批伪造的TCP连接请求,从而使得被进攻方资源耗尽(CPU满负荷或内存不足)的进攻方法。(SYN Flood is one of the most popular DoS (refuse to do service attack) and DDoS (Distributed refuse to do service attack), which is a Use the TCP protocol shortcomings, sending a large number of forged TCP connection requests, making the offensive resource exhaustion (CPU full load or memory) Offensive....)
    2012-02-24 21:09:08下载
    积分:1
  • ServerSocket
    一个很好的winsock tcp/ucp示例,相信看了肯定收益颇丰(a good example for winsock about tcp/udp)
    2009-10-31 09:05:50下载
    积分:1
  • QT_axis
    使用编写程序,实现一个坐标轴功能,进行数据分析与运算(Use programming to implement a function of coordinate axes, data analysis and calculation)
    2017-03-30 10:46:17下载
    积分:1
  • 20050829152443_CompletionPortDemo
    说明:  修改了的IOCP例子,修改了的IOCP例子(revising the IOCP example, revising the IOCP example)
    2005-09-07 13:00:54下载
    积分:1
  • CCachedScrollViewP
    SDI GDI+ 带滚动的窗口的画图模板。可用于学习和作画图模板(SDI GDI+ drawing with a scrollable window template. Can be used to study and paint mask)
    2011-09-21 11:30:37下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载