splash formu yapmak için araştırma yaparken şu şekilde bir kod buldum
Kod: Tümünü seç
var
Region: HRgn;
Points: array [0..11] of TPoint;
begin
(* Define the points of a W shape *)
Points[0] := Point(0 , 0 );
Points[1] := Point(50 , 0 );
Points[2] := Point(180, 200 );
Points[3] := Point(218, 100 );
Points[4] := Point(256, 200 );
Points[5] := Point(385, 0 );
Points[6] := Point(435, 0 );
Points[7] := Point(256, 300 );
Points[8] := Point(218, 200 );
Points[9] := Point(180, 300 );
(* Define the region *)
Region := CreatePolygonRgn(Points,
10,
ALTERNATE);
(*
Points: This a pointer to the previously defined points
10: The number of points
ALTERNATE: The mode to be used for filling the polygon
*)
(* Set the window to have the above defined region *)
SetWindowRgn(Handle, // The handle of our form
Region, // The handle of our defined region
True); // The window is to be redrawn now
oluşturmak istiyorum ama rakamlarla ne kadar oynasamda nasıl bir sistemle çalıştığını anlayamadım.
bu konuda bana yardımcı olabiilirmisinz.