【delphi源码】使程序不在系统任务条上出现【delphi源码】使程序不在系统任务条上出现

习题答案
考试通关必备网站

【delphi源码】使程序不在系统任务条上出现

unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.FormCreate(Sender: TObject);
begin
SetWindowLong(Application.Handle, GWL_EXSTYLE, WS_EX_TOOLWINDOW);
end;
end.
未经允许不得转载:亿券答案网 » 【delphi源码】使程序不在系统任务条上出现

我来解答

匿名发表
  • 验证码: