Autor Beitrag
Chris1308
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 220

Win XP Prof.
D2005 Prof, D7 Prof, D7 Pers
BeitragVerfasst: Di 02.07.02 13:22 
Hi @all!
Erstmal der Code:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
procedure TForm1.WebBrowser1NewWindow2(Sender: TObject;
  var ppDisp: IDispatch; var Cancel: WordBool);
var NewApp: TForm1;
begin
   NewApp := TForm1.Create(Owner);
   NewApp.Visible := true;
   ppdisp := NewApp.WebBrowser1.Application;
end;


So, für die, die noch nicht wissen was ich machen will: Ich versuche, dass das neue WebBrowserfenster, meine eigene App ist.
Wie kriege ich es jetzt hin, dass pro neues Form, ein eigener Task in der Taskbar erscheint?

Chris1308

Moderiert von user profile iconChristian S.: Code- durch Delphi-Tags ersetzt
Fighter#1
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 787

Win XP, Ubuntu 8.04
Turbo Delphi 2006, Delphi 2005 Pe, Delphi 5 Pe, Netbeans 6.1, Eclipse, Microsoft VisualC#, Dev C++, PHP, HTML, CSS
BeitragVerfasst: So 09.07.06 15:47 
Hi Chris, ich denke ich versteh dein Problem mitlerweile!
SO Du solltest am besten jedesmal die Anwenung mit den gewünschten Parametern neustarten.
Alternatich könntest du (weis nich ob das geht) versuchen so ne neue Application zu erstellen,
ausblenden Delphi-Quelltext
1:
2:
3:
Form2 : TApplication;
FOrm2:=TApplication.Create(self)
...

ok?

MfG Fighter#1


PS:Freu mich von dir zu hören

Moderiert von user profile iconChristian S.: Delphi-Tags hinzugefügt

_________________
Wer andere beherrscht ist stark,
wer sich selbst beherrscht ist mächtig. Lao Tse
Chris1308 Threadstarter
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 220

Win XP Prof.
D2005 Prof, D7 Prof, D7 Pers
BeitragVerfasst: So 09.07.06 17:04 
Wtf?
Du gräbst hier einen 4 Jahre alten Thread aus... ;)
Ich weiß nicht mal mehr, warum ich die Frage gestellt habe, geschweige denn, dass mich eine Lösung jetzt noch interessiert. ;)

Sorry, da ich das nicht mehr brauche, probiere ich das jetzt auch nicht mehr aus. *g*

Chris