摘要
消息作为用户界面联系操作系统和应用程序的纽带,在系统中占据极其重要的地位。Delphi封装了Windows的消息结构,并定义了很多常用的消息(即封装了Delphi开发环境中构件的事件和方法)。通过对Windows消息机制基本原理及使用方法的介绍,着重分析了Delphi消息的处理方法,并举例说明了在Delphi开发环境下消息机制的应用及需要注意的问题。
As the link between the operating system of the user interface and the application, messages play an important role in the system. Delphi encapsulates the frame of Windows messages and defines most of messages in common use (the events and methods in Delphi IDE). By introducing the basic theory and the method for using the Windows messages mechanism, this paper analyses in detail the processing method of the Delphi messages mechanism and illustrates how to apply the messages mechanism in Delphi IDE Some problems to be encountered are also analyzed.
出处
《电子科技》
2005年第9期17-20,共4页
Electronic Science and Technology