高手们的文章有很大启发,但是总有些小错,也有没交代清楚的,以下是我的理解:编译器编译MainWndProc的时候,它是一个正常Delphi普通函数,MakeObjectInstance对它做变换是运行期的事情, 它有两个参数的:SELF,TMESSAGE,编译的时候仍然... Read More
posted @ 2014-11-19 20:38 findumars Views(753) Comments(0) Diggs(0)
第一步,准备工作:预定义一个全局Win控件变量,以及一个精简化的Win控件类var CreationControl: TWinControl = nil; // 定义全局变量,用来表示每次刚创建的Win控件 TWinControl = class(TControl) private FDefWndP Read More
posted @ 2014-11-19 20:27 findumars Views(3104) Comments(0) Diggs(0)