appo icon

Making the invisible form (Option 2)

appo | PRO | 12/27/13 09:23:49 PM UTC | 0 ⭐ | 566 👁️ | Never ⏰ | []
Delphi |

690 B

|

None

|

0 👍

/

0 👎

unit Unit1;
 
interface
 
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
 
type
TForm1 = class(TForm)
Timer1: TTimer;
 
procedure FormCreate(Sender: TObject);
procedure Timer1Timer(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
 
var
Form1: TForm1;
 
implementation
 
{$R *.dfm}
 
 
procedure TForm1.FormCreate(Sender: TObject);
begin
Form1.AlphaBlend:=true;
Form1.AlphaBlendValue:=0;
end;
 
procedure TForm1.Timer1Timer(Sender: TObject);
begin
ShowWindow(Application.handle, SW_HIDE);
end;
end.
//PS.In Object Inspector on timer setinterval 1 millisec.
 
// Coded by Appo //

Comments