好奇,为什么Create函数明明是个构造函数,还要带上override;这是C++里没有的事情。我虽然也明白其大致的作用和目的,但还是没有见到官方和权威的说法。如果哪位大大见到此文,还望给一个详细一点的解释,谢谢。----------------------------VCL关键类---------... Read More
posted @ 2014-04-18 17:02 findumars Views(392) Comments(0) Diggs(0)
TTimerProc = procedure of object; IFMXTimerService = interface(IInterface) ['{856E938B-FF7B-4E13-85D4-3414A6A9FF2F}'] function CreateTimer(Interval: I Read More
posted @ 2014-04-18 00:15 findumars Views(780) Comments(0) Diggs(0)
RTTI(RunTime Type Information): 运行时类型信息, 就是在程序运行后也能得到类型(譬如 TButton 类)的信息.这在早期主要用于 IDE 设计时, 譬如把一个 Button 放到窗体后, 此时我们的程序虽然没有运行, 但在 Delphi 的 IDE 编辑环境中, 这 Read More
posted @ 2014-04-16 15:44 findumars Views(938) Comments(0) Diggs(0)
TWMKey = packed record Msg: Cardinal; CharCode: Word; Unused: Word; KeyData: Longint; Result: Longint; end;FormShortCutFOnShortCutIsS... Read More
posted @ 2014-04-15 21:03 findumars Views(845) Comments(0) Diggs(0)
TTimer = class(TComponent) private FInterval: Cardinal; FWindowHandle: HWND; FOnTimer: TNotifyEvent; FEnabled: Boolean; procedure Upd... Read More
posted @ 2014-04-15 20:00 findumars Views(587) Comments(0) Diggs(0)