Autor Beitrag
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: So 25.06.06 13:50 
ich bin gerade dabei ein Spiel in delphi7PE zu proggen und würde gern wissen wie man ein Fenster in Vollbildmodus bringt. so wie halt richtige Spiele auch sind!!

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: So 25.06.06 13:53 
eine sehr simple lösung wäre WindowsState von der Mainform auf wsMaximized sowie Borderstyle auf ClNone zu setzen :)
elundril Threadstarter
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: So 25.06.06 13:55 
da is aber noch immer die Taskleiste im Weg!!
aber trotzdem Danke!!!

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 25.06.06 13:58 
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
  borderstyle := bsnone;
  formstyle := fsstayontop;
  top := 0;
  left := 0;
  clientwidth := screen.width;
  clientheight := screen.height;
  Windowstate := wsMaximized;


ungetestet, aber sollte so funzen ;)

mit der engine an der ich gerade arbeite ist es völlig wurst in welcher auflösung man entwickelt, man kann sogar pixelkoordinaten angeben und es wird in jeder auflösung korrekt dargestellt ;)
elundril Threadstarter
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: So 25.06.06 14:04 
danke!! und das schaut dann aus wie bei einem z.bWarcraft III??

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Hack Gott
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 409

Windows Vista
Delphi 2005 Personal, Delphi 7
BeitragVerfasst: So 25.06.06 14:06 
nunja, es ist nur eine leere form, aber sonst ja.

_________________
"Je mehr Käse, desto mehr Löcher; Je mehr Löcher, desto weniger Käse. Daraus folgt: Je mehr Käse desto weniger Käse!"
elundril Threadstarter
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: So 25.06.06 14:08 
ach mist und ich hab geglaubt sobald ich das mach kann ich warcraft III mit meinem Programm spielen!! :D

Danke an alle die Mir geholfen haben!!

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
F34r0fTh3D4rk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 5285
Erhaltene Danke: 29

Win Vista (32), Win 7 (64)
Eclipse, SciTE, Lazarus
BeitragVerfasst: So 25.06.06 14:08 
ich habs grad getestet und es funzt einwandfrei (kompiliert sogar auf anhieb ^^)