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

  • usbusbudong
    usb complete driver usb complete driver usb complete driver usb complete driver usb complete driver
    2009-03-05 18:40:56下载
    积分:1
  • lastools
    las文件读取,转换程序。包含las转txt,las转shp等。从国外某大学上下载的开源代码。(las file read, the conversion process. Includes las transferred txt, las switch shp so. A university from abroad to download open-source code.)
    2020-07-03 06:00:01下载
    积分:1
  • PStechnology
    详细介绍了ps的基础技巧,让你从小白成为ps高手迈出了第一步。(Details of the ps of basic skills, so that you become ps from the white master the first step.)
    2013-12-28 20:40:28下载
    积分:1
  • 多个运动控制卡流
    运动控制卡发展越来越讯速,不同类型的控制卡亦多种多样,使软件项目经理具备越来越灵活的方案选择。而对于软件开人员,对不同的类型卡的性能测试工作无疑也越来越麻烦,通常各类型的控制卡其驱动库函数各不一样,都需要用户自己进行整理封装多类型卡编程方式,供参考(Multi - type card programming mode for reference)
    2018-11-21 10:30:01下载
    积分:1
  • WindowruntimeTestCode
    Windows程序运行原理及程序编写流程,窗口产生过程,句柄原理,消息队列,回调函数,窗口关闭与应用程序退出的工作关系,使用VC++的若干小技巧,stdcall与cdecl调用规范的比较,初学者常犯错误及注意事项。(Windows program to run Principles and procedures for the preparation of flow, the process window, handles principle, message queues, callback function, the window closed and the application quit working relationship, the use of VC++ A number of tips, stdcall and cdecl calling norms comparison, beginners often make mistakes and Cautions.)
    2008-06-02 10:30:11下载
    积分:1
  • 00097567
    动画启动界面,VC++经典编程源码,很好的参考资料。(Animation interface to start, the classic VC++ programming source code, a good reference.)
    2013-11-15 09:29:09下载
    积分:1
  • cpu_move
    CPU 电子漂移知识,图解准确,耐人寻味(CPU electronic drift of knowledge, diagrams accurate, thought-provoking)
    2009-09-06 23:15:48下载
    积分:1
  • DSP1
    说明:  DSP开发全过程经典,好的DSP开发书籍(DSP Book)
    2009-08-03 10:28:26下载
    积分:1
  • basicapp
    basicapp 应用演示了基本BREW UI控件的使用,如菜单,静态文本,文本输入控件等,本文重点说明UI框架设计思路(basicapp application demonstrates the use of basic BREW UI controls such as menus, static text, text input control, etc., this paper highlights the UI framework for design ideas)
    2010-09-06 16:30:10下载
    积分:1
  • MotionDetect
    说明:  移动侦测技术的设计与实现,包括移动侦测的原理和功能实现。(Motion detection technology, design and implementation, including the principle of motion detection and functional implementation.)
    2011-04-11 13:24:41下载
    积分:1
  • 696516资源总数
  • 106409会员总数
  • 8今日下载