Registriert seit: 15. Mai 2003
Ort: München
251 Beiträge
Delphi 7 Architect
|
Re: Programm vor Taskmanager verstecken
18. Jul 2005, 12:52
Hallo Olli,
probier mal:
Delphi-Quellcode:
procedure TForm1.FormCreate(Sender: TObject);
begin
ShowWindow( Application.Handle, SW_HIDE );
SetWindowLong( Application.Handle, GWL_EXSTYLE,
GetWindowLong(Application.Handle, GWL_EXSTYLE) or
WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);
ShowWindow( Application.Handle, SW_SHOW );
end;
|
|
Zitat
|