Autor Beitrag
ajk-web
Hält's aus hier
Beiträge: 2



BeitragVerfasst: So 08.07.07 21:42 
Hallo zusammen!

Ich habe vor, ein Programm in Delphi zu schreiben, das ein anderes Programm im Vordergrund startet.

Also das Delphi-Programm an sich bleibt "normal", nur das gestartete Programm soll im Vordergrund stehen.
Wenn dieses externe Programm kein Programm, sondern eine internes "Form2" (z.B.) wäre es ja kein Problem.

Aber gibt es diese Möglichkeit auch für Shellexecute o.ä.?


Danke im Voraus

AJK
matze
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 4613
Erhaltene Danke: 24

XP home, prof
Delphi 2009 Prof,
BeitragVerfasst: Mo 09.07.07 07:28 
Du hast dir doch die Antwort selbst schon gegeben. Shellexecute. Wo liegt das Problem ?

_________________
In the beginning was the word.
And the word was content-type: text/plain.
ajk-web Threadstarter
Hält's aus hier
Beiträge: 2



BeitragVerfasst: Mo 09.07.07 21:28 
Das Problem ist:

Es soll im Vordergrund sein, also nicht minimierbar, so in der Art wie die Maustastatur bei Windows.

Es soll quasi immer ganz vorne sein.
andras
ontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 460

Win XP, Win Vista Home Premium, Ubuntu Dapper Drake
Delphi 2005 Pers
BeitragVerfasst: Mo 16.07.07 14:08 
ich glaube ehrlich gesagt nicht, dass du einfluss auf das verhalten eines fremden programmes haben kannst. wo kämen wir denn da hin?? da ist ja dann die hälfte von meinem programmieraufwand hinüber :roll: :wink:
was vl geht, sobald das programm minimiert wird/in den hintergrund verschwindet, dass du es wieder in den vordergrund beförderst...
aber elegant ist das nicht....