Autor Beitrag
recall
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Sa 06.12.03 20:36 
Hallo,

Geht folgendes (?):

2 Anwendungen laufen, von jeder 1 Formular offen.
Ich will, dass das Formular von Anwendung1 der Parent vom Formular von Anwendung2 wird, soll heißen, ein Formular einer Anwendung in ein Formular einer anderen Anwendung einbetten...

(Ich weiss, ich stelle immer die einfachsten Fragen :wink: .)

Viele Grüsse.
toms
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1099
Erhaltene Danke: 2



BeitragVerfasst: Sa 06.12.03 23:46 
ausblenden Delphi-Quelltext
1:
Windows.SetParent(Formular_von_Anwendung1.Handle, Formular_von_Anwendung2.Handle);					
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: So 07.12.03 11:16 
Wow, so einfach ?
Danke.
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: So 07.12.03 11:28 
hmmm...
Eigentlich will ich die fremde exe in ein Panel einbinden.
Wie krieg ich denn von einem Panel das handle ?
Oder muss ich das dann anders machen ?

Viele Grüsse.
Motzi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2931

XP Prof, Vista Business
D6, D2k5-D2k7 je Prof
BeitragVerfasst: So 07.12.03 14:29 
Wenns ein Panel von deiner Anwendung ist einfach mit <PanelName>.Handle, wenn es ein Panel aus einer anderen Anwendung ist musst du dieses mit FindWindow/FindWindowEx/EnumChildWindows suchen...

_________________
gringo pussy cats - eef i see you i will pull your tail out by eets roots!
recall Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Mo 08.12.03 18:53 
thx