procedure TfrmMainForm.FormCreate(Sender: TObject);
var
liWinStyle : Longint;
begin
with Application do
begin
liWinStyle := getWindowLong( handle, GWL_EXSTYLE );
showWindow( handle, SW_HIDE );
setWindowLong( handle, GWL_EXSTYLE,
liWinStyle or WS_EX_TOOLWINDOW );
showWindow( handle, SW_SHOW );
end;
end;