http://delphi.about.com/od/adptips1999/qt/hidefromtaskbar.htm
procedure TMainForm.FormCreate(Sender: TObject) ;
begin
ShowWindow(Application.Handle, SW_HIDE) ;
SetWindowLong(Application.Handle, GWL_EXSTYLE, getWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW) ;
ShowWindow(Application.Handle, SW_SHOW) ;
end;
Delphi 2007, , :
Set MainFormOnTaskBar to FALSE
Inside the main form, calling the OnShow event handler
ShowWindow(Application.Handle, SW_HIDE);
Inside the main OnActivate form, an event handler call
ShowWindow(Application.Handle, SW_HIDE);
source
share