Autor Beitrag
Ivo@CoMRoK
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 258

Win XP
D3 Prof., D7 Pe.
BeitragVerfasst: Sa 22.04.06 17:56 
Hi!
Gibt es ein Event, was ausgelöst wird wenn die Minimieren-Taste gedrückt wird?
Ich will die Anwendung nämlich auf Hide stellen, wenn der User auf Minimieren klickt (das Wiederaufrufen mach ich übern TrayIcon).

_________________
Fällt der Bauer tot vom Traktor, stand am Waldrand ein Reaktor.
Ein altes indianisches Sprichwort besagt:Es kann gefährlich sein gelben Schnee zu essen.
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 481

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 22.04.06 18:04 
Setze ins OnCreate deiner Hauptform ein Application.OnMinimize := MeineMinimizeProzedur; und später
ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.MeineMinimizeProzedur(Sender: TObject);
begin
  showmessage('ich werde jetzt minimiert');
end;

_________________
We are, we were and will not be.
Ivo@CoMRoK Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 258

Win XP
D3 Prof., D7 Pe.
BeitragVerfasst: Sa 22.04.06 18:12 
Ah super!
Danke das Funktioniert.

_________________
Fällt der Bauer tot vom Traktor, stand am Waldrand ein Reaktor.
Ein altes indianisches Sprichwort besagt:Es kann gefährlich sein gelben Schnee zu essen.