Delphi調用WinAPI 字符及字符串函數(2)(2)
{返回值}procedure TForm1.Button3Click(Sender: TObject);var buf: array[0..6] of Cha
Delphi調用WinAPI 字符及字符串函數(3)(2)
{對字符數組}procedure TForm1.Button3Click(Sender: TObject);var Arr: array[0..2+1] of
Delphi調用WinAPI 字符及字符串函數(6)(2)
procedure TForm1.Button3Click(Sender: TObject);var c: Char; b: BOOL;begin c :=
Delphi調用WinAPI 字符及字符串函數(7)(2)
procedure TForm1.Button3Click(Sender: TObject);var c: Char; b: BOOL;begin c :=
Delphi調用WinAPI 字符及字符串函數(8)(2)
procedure TForm1.Button3Click(Sender: TObject);var c: Char; b: BOOL;begin c :=
Delphi調用WinAPI 字符及字符串函數(13)(2)
procedure TForm1.Button4Click(Sender: TObject);var p1,p2: PChar; n: Integer;beg
初學Delphi嵌入匯編[8] - 8 位寄存器、16 位寄存器與 32 位寄存器(2)
如果給 AL 賦了值, 那麼 AX EAX 也就有了值.//測試1var i: integer; {4 字節、32 位} w: Word; {2 字節、1
初學Delphi嵌入匯編[17] - 邏輯運算(2)
// 邏輯與 And:{1 and 1 = 1;1 and 0 = 0;0 and 1 = 0;0 and 0 = 0;}varByteNum: Byte;b
初學Delphi嵌入匯編[29] - 寄存器所能接受的數值范圍(2)
//對於負數呢?{下面函數不會有問題, 返回 -1 }function Fun: Integer;asmmov eax, -1end;{它們能接受的最小負整數
再學GDI+[5]: DrawArc - 繪制弧線(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 184 C
再學GDI+[6]: DrawPie - 繪制餅形(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 184 C
再學GDI+[7]: DrawLines - 繪制一組直線(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 188 C
再學GDI+[9]: DrawPolygon - 繪制多邊形(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 188 C
再學GDI+[10]: DrawClosedCurve - 繪制閉合曲線(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 188 C
再學GDI+[11]: DrawCurve - 繪制曲線(2)
體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 187 Cl
學GDI+[14]: DrawBeziers - 繪制一組貝塞爾線
本例效果圖:代碼文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Clas
再學GDI+[17]: FillRectangle、ColorRefToARGB、TGPSolidBrush(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 206 C
再學GDI+[18]: FillEllipse、TGPHatchBrush(陰影畫刷)(2)
窗體文件:object Form1: TForm1 Left = 0 Top = 0 Caption = Form1 ClIEntHeight = 206 C