Autor Beitrag
kreuzkrieter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Sa 01.10.05 15:46 
hallo,
ich möchte gerne wissen wie ich mit shellexecute eine internetseite öffne, sodass mein mozilla die größe 15x57 hat.


danke


Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Sa 01.10.2005 um 16:47
Alstar
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 827



BeitragVerfasst: Sa 01.10.05 17:21 
Hi!

IMHO kannst du das nicht, da es keine Kommandozeilenbefehle bzw. Parameter beim Mozilla gibt, mit der du Höhe und Breite festlegen kannst.
Du könntest höchstens eine HTML-Datei (mit JavaScript?) erstellen, die deinen Browser auf die richtige Größe formt, und dann die Website aufrufen ...

Alstar
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: Sa 01.10.05 17:25 
hm... weiß wer wie das geht ;p
Lannes
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2352
Erhaltene Danke: 4

Win XP, 95, 3.11, IE6
D3 Prof, D4 Standard, D2005 PE, TurboDelphi, Lazarus, D2010
BeitragVerfasst: Sa 01.10.05 20:24 
Hallo,

kA ob Du damit weiterkommst?
Damit wird Der IE in einer festgelegten Größe geöffnet:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
  shellexecute(handle,
              'open',
              '"C:\Programme\Internet Explorer\IEXPLORE.EXE"',
              'about:<body onload="window.resizeTo(200,200)">',
              nil,
              SW_SHOWNORMAL);

_________________
MfG Lannes
(Nichts ist nicht Nichts) and ('' <> nil ) and (Pointer('') = nil ) and (@('') <> nil )
kreuzkrieter Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 47



BeitragVerfasst: So 02.10.05 14:54 
mit dem internet explorer geht es. da ich aber nur mozilla nutze bringt mich das auch nicht weiter