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

  • DirectAccessHD
    说明:  我以前从网上下的一个实例,可以读取扇区数据,也可以删除和备份数据;(I used the Internet from an example, can read data sector can also delete and backup data;)
    2006-04-19 14:57:48下载
    积分:1
  • UltraVNC_1053_src
    UltraVnc 1.0.5.3 src
    2010-05-19 18:42:05下载
    积分:1
  • NetworkAdapter
    在硬件设置上禁用和启动多个网卡,在xp、win98、win2000上测试过(the hardware setup and launched a number of banned card, xp, win98, tested on WIN2000)
    2005-04-26 15:28:21下载
    积分:1
  • COM-inside
    COM技术内幕的源代码,都已经编译测试,个人觉得不错,特来分享(COM-INSIDE CODE,Sharing it)
    2010-01-05 10:38:53下载
    积分:1
  • huang3
    VC++6.0,对图片进行二值化处理(VC++ 6.0, pictures binarization processing)
    2008-12-27 14:36:20下载
    积分:1
  • GPS-easysuit
    matlab处理GPS数据的学习用代码。共5个部分附带说明书。包括第一部分GPS时间系统、第二部分Rinex文件读取、第三部分接收机的地心地固位置计算、第四部分基于伪距码的基线解算、第五部分双差解算(GPS data processing matlab learning with the code. A total of five parts with manual. GPS time system includes a first portion, a second portion Rinex file read, the third part of the ground EarthFixed receiver position calculation, the fourth part of the pseudo-code based on the baseline solution, the fifth part of the double difference solver)
    2013-09-11 17:22:47下载
    积分:1
  • getConnectionString
    ADO获取数据库连接字串的源代码。不少程序员为数据库的连接字串而发愁,好了,这下可以为你获取这个连接字串了。(ADO database connection string to obtain the source code. Many programmers for the database connection string and worry about, well, thought you这下可access to the connection string of the.)
    2008-04-08 09:40:43下载
    积分:1
  • Hacking-Exposed
    一本优秀的国外黑客教程(中文版),介绍了很多主流的黑客手段和其所使用的工具,并且难度适中,新手和高手都适合看。(An excellent foreign hackers tutorial (Chinese version), introduces some mainstream hacking tools and means.)
    2015-05-04 20:50:09下载
    积分:1
  • Material_MIS
    物资管理系统,实现物资入库、出库、物资信息的增删查改等。(Materials management system, implementation of materials storage, a library, information material, etc. check the additions and deletions.)
    2009-03-05 20:05:14下载
    积分:1
  • 4_02
    给出了迭代函数系统生成Julia集的代码(In this paper, a iterative function system redraw Julia program source code)
    2013-05-08 09:37:10下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载