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

  • ninebox
    说明:  用visual studio 2008编写的九宫格拼图,可以分割成3*3、4*4、5*5、6*6几种,还可以更换拼图的图片(Prepared using visual studio 2008 Jiugongge puzzles, can be divided into 3* 3,4* 4,5* 5,6* 6 several, you can also change the picture puzzle)
    2011-04-06 21:18:21下载
    积分:1
  • 2011_08_20_ADO_Access
    VC++ MFC中基于对话框的程序 使用ADO对ACCESS进行操作,编辑,添加、删除记录,显示所有的记录等。如何对mdb程序进行压缩等功能、如何动态建立mdb文件以及动态建立table表进行详细说明。(VC++ MFC dialog based on the ACCESS program uses ADO to operate, edit, add, delete records, show all records. How to compress mdb program functions, how to dynamically create mdb file and dynamically build table table details.)
    2011-08-22 19:31:19下载
    积分:1
  • MuJing1.0
    VTK+MFC读取医学dicom图像及GPU三维重建(VTK MFC GPU)
    2021-02-19 16:19:44下载
    积分:1
  • adb_ycnc
    adb在VC6下的编译工程,带USB开发库,直接可编译成功。(adb complie by VC6)
    2015-06-25 11:21:26下载
    积分:1
  • vc_calendar_software_source_code_written_in_compac
    vc编写的小巧日历软件源码vc calendar software source code written in compact(vc small calendar software source code written in vc calendar software source code written in compact)
    2010-08-06 22:43:24下载
    积分:1
  • TCPIPAnalyse1
    对TCPIP网络包解析,Win下网络编程参考源码(TCPIP network packets for analysis, Win Network Programming Reference Source)
    2013-05-24 13:21:34下载
    积分:1
  • DevelopmentBoardWithMSP430F449DesignProcess
    用MSP430F449设计的开发板程序,有助于初学者熟悉开发板并进行进一步的开发学习(Development board with MSP430F449 program designed to help beginners familiar with the development board, and further develop the learning)
    2010-05-13 11:44:04下载
    积分:1
  • PassTP
    过大部分Tx公司的tp驱动保护,跟别人3000元在淘宝购买的(Pass the Ten*cent tp driver proctest, the prise is $3000 dollar)
    2013-05-07 22:35:11下载
    积分:1
  • DTrssarfdsMS
    动态传输远程控制,已经发出了自己的,大家拿去玩吧(The dynamic transmission Remote Control has been issued, we take it to play)
    2013-01-19 13:04:24下载
    积分:1
  • Chat
    在VS2005的编程环境下,利用套接字的编程原理,可以实现网络聊天功能。(On the basic of VS2005, take advantage of the principle of Socket to achieve the ability to communicate online.)
    2014-04-11 09:18:47下载
    积分:1
  • 696524资源总数
  • 103945会员总数
  • 46今日下载