摘要
Windows的消息系统操纵着VB应用程序的运行,消息处理是Windows的控制机制.如果掌握了VB的消息处理机理和Windows子类技术,就可以通过自定义窗口程序来直接截获和处理消息,从而增强窗口程序的功能,实现特殊功能的Windows应用程序.本文首先介绍了VB消息处理机制,然后介绍了Windows子类技术及其工作原理,最后给出在VB中运用子类技术实现自定义窗口程序的结构和具体实现.
The message system of Windows controls the operation of applications VB programs,and message processing is key mechanism to Windows.If we know the mechanism of message processing and master the technology of sub-class,we can enhance the functions of windows by self-defined windows.This paper introduces the mechanism of VB message processing,then presents the sub-class of Windows OS and its principle.At last,this paper shows the procedure of creating self-defined windows by sub-class,and an implementation of the self-defined windows.
出处
《甘肃联合大学学报(自然科学版)》
2007年第5期83-87,共5页
Journal of Gansu Lianhe University :Natural Sciences