Autor Beitrag
jaenschi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 89

Win XP, Debian
D7
BeitragVerfasst: Di 01.03.05 16:54 
Hallo,
bei meinem Programm wird für jedes Form ein Eintrag in die Taskleiste ertsellt.
Kann ich das MainForm verbergen, ohne dass die anderen Forms auch aus der Taskleiste verschwinden?
Sprint
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 849



BeitragVerfasst: Di 01.03.05 17:05 
Hast du schon Application.ShowMainForm, die Eigenschaft Visible und die Prozedur Hide von TForm ausprobiert?

_________________
Ciao, Sprint.
jaenschi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 89

Win XP, Debian
D7
BeitragVerfasst: Di 01.03.05 17:15 
Application.ShowMainForm hab ich natürlich auf true, sonst würde ich ja das Fenster nicht sehen!
Ich will ja nur den Taskleisteneintrag des Hauptforms weg haben.
Deshalb ist Visible natürlich auch true.
Mit
ausblenden Delphi-Quelltext
1:
2:
Owner:=GetWindow(Handle,GW_OWNER);
ShowWindow(Form1.Handle,SW_HIDE);

verstecke ich den Eintrag, aber dann verschwinden ja auch die Einträge der anderen Forms:/
Harry Hunt
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 50



BeitragVerfasst: Di 01.03.05 17:50 
SetWindowLong(Form1.Handle, GWL_EXSTYLE, WS_EX_TOOLWINDOW);
jaenschi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 89

Win XP, Debian
D7
BeitragVerfasst: Di 01.03.05 18:12 
Das bringt irgendwie auch nix :(