摘要: SubClassWndProc This example shows how to use the WndProc method and the WindowProc property to subclass a custom control's window procedure. This exa 阅读全文
posted @ 2015-07-13 21:50 lypzxy 阅读(389) 评论(0) 推荐(0) 编辑
摘要: Set8087CWThis example accesses the Floating Point Unit (FPU) control register. Try turning floating point exceptions off and on and dividing a number ... 阅读全文
posted @ 2015-07-13 21:35 lypzxy 阅读(419) 评论(0) 推荐(0) 编辑
摘要: Delphi 创建建具有“反射调用”功能的类http://www.360doc.com/content/12/1208/18/9200790_252894905.shtml 阅读全文
posted @ 2015-07-13 21:21 lypzxy 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 本文上篇基本上是 RTTI 入门介绍,续篇介绍了所有 TypInfo.pas 中的函数,附加了 Classes.pas、 Graphics.pas、Controls.pas 中的几个 RTTI 相关函数。对于关键函数的代码提供汇编注释。希望本文覆盖 了 Delphi 中 80% 的 RTTI 函数。 阅读全文
posted @ 2015-07-13 21:17 lypzxy 阅读(284) 评论(0) 推荐(0) 编辑
摘要: SetEnumProp void __fastcall TForm2::Button1Click(TObject *Sender) { //Getting the current color of the workspace String currentPropColor = GetEnumProp(this,"Color"); int currentColorInt =... 阅读全文
posted @ 2015-07-13 21:14 lypzxy 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 选择文件夹,路径选择, 文件夹 资源管理器 推荐 SelectDirectory http://docwiki.embarcadero.com/Libraries/Seattle/en/Vcl.FileCtrl.TSelectDirFileDlgOpts Vcl.FileCtrl.hpp SHBro 阅读全文
posted @ 2015-07-13 21:01 lypzxy 阅读(3626) 评论(0) 推荐(0) 编辑
摘要: 字体void __fastcall TForm1::Button1Click(TObject *Sender){ LOGFONT lf; // Windows native font structure Canvas->Brush->Style = bsClear; // Set th... 阅读全文
posted @ 2015-07-13 20:58 lypzxy 阅读(157) 评论(0) 推荐(0) 编辑
摘要: c++builder自定义控件http://docwiki.embarcadero.com/CodeExamples/XE8/en/RegisterComponents_%28C%2B%2B%29void __fastcall SetFocusControl(TWinControl* Value);... 阅读全文
posted @ 2015-07-13 20:55 lypzxy 阅读(535) 评论(0) 推荐(0) 编辑