文件名称:Visual Basic Subclass Control
文件大小:33KB
文件格式:RAR
更新时间:2009-03-15 02:52:39
其它类别 控件 源码 资源
This code demonstrates how to write a subclassing control in Visual Basic(version 5 or later). The code takes advantage of the new AddressOfkeyword, which can only be used from a BAS module. A common BAS modulekeeps track of all the current control instances within the currentprocess and then intercepts Windows messages, calling specific controlinstances as appropriate.