Autor Beitrag
lkz633
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 136

WinXP, Suse Linux 8.2 (unter VMWare)
D7 Prof, K3 Prof
BeitragVerfasst: So 09.02.03 17:36 
Hallo,

wenn mein Fenster minimiert wird, verschwindet es in die Taskbar neben die Uhr, ich benutze dazu die Komponente abftrayicon. Ich möchte jetzt, das wenn man über das Icon fährt, das Fenster in den Vordergrund kommt. Leider klappt das nicht. Habe bereits diesen code, der aber nichts bringt.
ausblenden Quelltext
1:
2:
3:
 trayicon.Hide;
  trayicon.ShowMainForm;
  fmain.bringtofront;          //fmain ist Hauptformular


Auch ein SetForegroundWindow(fmain.Handle);hat nicht das gewümschte Ergebnis gebracht.

Sonst noch Vorschläge ?

Gruss lkz633[/code]