首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 62 毫秒
1.
Windows是一套以消息驱动的操作系统。C++Builder的可视化组件库(VCL)提供了对大多数Windows消息的处理机制,程序开发人员在一般情况下无需理会Windows消息的细节。然而作为一个windows程序开发者,实有必要掌握C++Builder中如何进行Windows消息的捕获。该文阐述了Windows消息的概念,对C++Builder的消息映射机制进行了系统分析,同时结合一个实际范例,仔细说明了其中之技巧。  相似文献   

2.
本文结合一范例讨论了如何利用C++Builder处理Windows消息,实现在一般VCL组件中所无法做到的功能,并讨论了Windows消息在C++Builder编程中的重要作用。  相似文献   

3.
C++Builder30中提供了诸如图形、图象、声音、视频等多媒体信息的强大处理功能,特别是C++Builder中经过封装好了的TMediaP切er控件,它可以直接调用Windows系统提供的100多个具有多媒体处理能力的API函数,再借助C++Builder的高效、可视化开发环境和具有强大功能的C+十语言,可以非常容易地实现多媒体应用程序的汗发。百变国帝的开发利用C++Builder30提供的Splitter分割条)控件和Iamge(图象框部件)可以开发一个随时更换窗帘和窗口背景图象的百叶窗演示程序(图1):回1程序演示时,用鼠标拖动两个图象(一个做百叶窗的…  相似文献   

4.
引言BorlandC++Builder是Borland公司继Delphi之后推出的又一个快速高效的应用程序开发工具。以前,开发一个稍具规模的多媒体应用程序需要若干程序员几天的时间,而使用C++Builder开发,一个程序员仅仅需要几个小时就可以完成。对于一个Windows多媒体程序的制作者来说,应该掌握屏幕保护程序的制作技巧,但是与其他类型的多媒体程序不同的是,Windows屏幕保护程序涉及到的问题往往不是多媒体制作本身,而是对于Windows操作系统的认识。制作屏幕保护程序不仅仅需要对一般的应用程序事件做出正确的处理,还要对系统的事件进行捕获并…  相似文献   

5.
文章讲述了利用Delphi和C++Builder语言进行了基于Windows平台串行通信程序设计方法,指出ActiveX控件和API使用要点。最后结合开发实践,介绍用C++ Builder实现基于多线程技术和消息响应机制的异步串行通信实例在导航子系统中的应用。  相似文献   

6.
C++Builder中对消息的处理   总被引:2,自引:0,他引:2  
本文首先讨论了C Builder组件消息的封装、传递和处理机制,然后分析了Windows预定义消息和自定义消息的处理方法,总结出两类消息处理的步骤,最后通过一个实例加以实现。  相似文献   

7.
本文分析了基于Windows95/98平台上的异步串行通信程序的开发方法,并结合开发实践,用C++Builder语言实现了基于ActiveX控件实现Windows环境下的文本及二进制数据通讯的方法,给出编程的一般步骤和详细解释。  相似文献   

8.
C^++Builder中如何拦截Windows消息   总被引:1,自引:0,他引:1  
消息响应在Windows中属于高级编程技术,它极大地提高了程序的灵活性。本文论述在C^ Builder中如何以各种不同的方法响应Windows消息。  相似文献   

9.
介绍了在C++Builder编程环境下进行视频捕捉的两种方法:一种是利用Windows系统中的VideoforWindows函数库;另一种是借助于一些现成的视频捕捉组件进行视频开发。详细介绍了VideoforWindows下进行视频开发的原理及流程,并分别给出了这两种方法的示例。  相似文献   

10.
分析了用Lab Windows/CVI编写的程序中的向文件写数据及在C++Builder中读文件数据的方法,发现了文件打开方式错误的问题及用DLL解决问题的方法.并给出了实现代码.  相似文献   

11.
Using a high temperature Calvet microcalorimeter, the molar enthalpy of formation of liquid quaternary and quinary alloys have been carried out at 730 K along several sections belonging to their barycenter. The well-known models for extrapolation ( Kohler, Muggianu, Toop, Hoch-Arpshofen and Mathieu ) adapted to the n-component systems have been used to predict the enthalpy of formation of the liquid systems : Cd+Ga+ln+Sn, Cd+Ga+ln+Zn, Ga+ln+Sn+Zn and Cd+Ga+In+Sn+Zn. Experimental and calculated results have been compared.  相似文献   

12.
文中主要阐述了在国外广泛应用的嵌入式系统面向对象编程语言EC ,比较了它与C 的区别,论述了EC 对嵌入式系统编程的优点。  相似文献   

13.
常循环码是一类重要的线性码,由于其纠错性能易于分析,因而广泛应用于实践中,同时,利用有限环上常循环码还可以直接构造最优线性码。定义了有限非链环[Fp+uFp+vFp]上[(1+u+v)]-循环码的相关概念,讨论了其生成多项式;引入了一种新的Gray映射[?],证明了该环上[(1+u+v)]-循环码在此Gray映射[?]下的[p]元象是一个长为[2pn]的2-准循环码,并由此构造出了两个最优二元准循环码。  相似文献   

14.
为满足现代控制系统对可靠性、复杂性、短开发周期及网络化管理的要求,该文在分析现有控制器组合形式特点的基础上提出了POI+PLC+IPC组合。该组合硬件可靠,多CPU协同处理,功能强大。该组合具有Ethernet接口,可以直接接入企业Intranet进而联入Internet实现网络化管理。该组合目前已应用于几类纺织机械控制系统中,其优良的性能在生产中得到了证实。  相似文献   

15.
本文分析了目前最为流行的面向对象的开发工具C 的对象布局,并进一步分析了其形成原因。  相似文献   

16.
In this paper, we study quantum codes over \(F_q\) from cyclic codes over \(F_q+uF_q+vF_q+uvF_q,\) where \(u^2=u,~v^2=v,~uv=vu,~q=p^m\), and p is an odd prime. We give the structure of cyclic codes over \(F_q+uF_q+vF_q+uvF_q\) and obtain self-orthogonal codes over \(F_q\) as Gray images of linear and cyclic codes over \(F_q+uF_q+vF_q+uvF_q\). In particular, we decompose a cyclic code over \(F_q+uF_q+vF_q+uvF_q\) into four cyclic codes over \(F_q\) to determine the parameters of the corresponding quantum code.  相似文献   

17.
随着社会信息化程度的不断提高,越来越多的个人、团体需要甚至是企业级的应用程序。而Sun公司的JEE能很好地满足这种需求。JEE具有高速反应、安全性高、可扩展性好和集成化等优点,越来越多地软件开发人员认可和使用。然而开发人员在开发系统之前要做的重要工作就是要搭建一个JEE的开发环境,该文通过在XP下用jdk+tomacat+eclipse+mysql的安装、配制与调试,验证了这种方法是快速有效的。  相似文献   

18.
Software agents are being deployed in increasing numbers to help users find and manage information, particularly in open environments such as the Internet. For the most part, they operate independently and are typically designed to be aware only of their users and the environment in which they perform their tasks. Thus, they fail to take advantage of each other's abilities or results. For example, a shopping agent might periodically access several online databases to find the best price for a music CD and then purchase it if the price falls below its user's threshold. Other agents might be tracking prices for the same CD, duplicating each other's work. Similarly, if your agent and an agent for the person in the next cubicle are both browsing the same Web site, two identical data streams arrive on your LAN, using twice the bandwidth actually needed. To be more effective, agents must be aware of each other; therefore, they must acquire models of each other. One way to do this is by exchanging messages. A second form of awareness involves the state of the agent's own environment, including characteristics of the computer on which it is executing and its network connection. A third involves self awareness: knowing its name, age, ontology, goals, areas of expertise and ignorance, and reasoning abilities. Finally, the agent should be aware of its physical environment. The article explains how software agents can develop awareness  相似文献   

19.
研究了HSSA(Hibernate+Spring+Struts+Ajax)体系架构,并结合一个具体的企务通系统实例以开源框架Spring为处理业务逻辑的核心,向下整合Hibernate进行持久层访问,向上整合Struts和Ajax完成与用户的友好交互.实际应用表明,HSSA整合架构发挥了各框架在各个层次上的优势,降低了开发的难度,在可维护性、交互性上较之一般的J2EE开发有明显的优势.  相似文献   

20.
在C++ Builder的程序开发中,通过OLE Automation技术,实现Word的自动化。  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号