Autor Beitrag
110022
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: Do 06.12.07 19:54 
ich will eine form nach öffnen einer datei minimieren.
aber wie??
was is falsch?
ausblenden Delphi-Quelltext
1:
2:
shellexecute(application.Handle, 'open', PChar('prgvoc\~vvh~.exe'), nil, nil, SW_SHOWNORMAL);
form1.minimize;



Moderiert von user profile iconTino: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Fr 07.12.2007 um 13:51
Atreyu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137


Delphi 7 Enterprise
BeitragVerfasst: Fr 07.12.07 00:03 
In den Tray oder in die Taskbar.
Für den Tray gibts die recht hette CoolTrayIcon Komponente, die das mit einem Befehl macht. Findest du über Google...
Dunkel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 682

Mac OS X Snow Leopard
Xcode 3.1
BeitragVerfasst: Fr 07.12.07 00:16 
Hallo!

Probier es mal mit Application.Minimize;.

_________________
Ich streite einsam mich mit dieser Oberflächenwelt
Gutes sei ein löblich Brot von dem ich zehre - bis zum Tod [Das Ich - Im Ich]
110022 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: Fr 07.12.07 13:05 
@ Dunkel:
danke klappt wunderbar :D
110022 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 287

XP SP2
Delphi 7
BeitragVerfasst: Fr 07.12.07 13:05 
und wie macht man das wieder hoch??
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Fr 07.12.07 13:23 
Application.Restore is glaub ich eine möglichkeit.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
.#R4id
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 90

Windows XP Prof.
CodeGear Delphi 2007
BeitragVerfasst: Fr 07.12.07 13:42 
SetForegroundWindow(Handle); sollte auch zum wiederherstellen funktionieren :!:

_________________
ausblenden Delphi-Quelltext
1:
if CopyAndPaste not avaible then Developer := Helpless;