Autor Beitrag
Killi
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 299

Win*
D6 Prof
BeitragVerfasst: Sa 18.10.03 14:17 
Hi!

Will mit einer TMediaPlayer Kompo ein Video wie im Microsoft-MP abspielen - drum hab ich, nach dem ich auf den Button "Play" drücke mein Form.WindowState:= wsMaximized gesetzt und jetzt habe ich ein Problem: Ich will das Video in Vollbild abspielen, geht aber mit Animate.Width:= Screen.width nicht......wie mache ich das???
Danke für eure Hilfe!


Killi
G-man
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 258

Win 2000, Win ME, SuSE 8.2
D5 Standard, D6 Professional
BeitragVerfasst: Mo 20.10.03 07:28 
Also es gibt da eine DirectX funktion, mit der du deine Form auf Fullscreen bekommst.
Ich weiß den Befehl aber nicht aus`m Kopf.

PS: Natürlich must du DirectX erst einmal in deine Form einbinden.

_________________
...To err is human, but to really foul things up requires a computer.
Killi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 299

Win*
D6 Prof
BeitragVerfasst: Mo 20.10.03 13:41 
Nee, aber trotzdem danke!
Wollte ja nicht die Form auf Fullscreen bringen (geht ja über windowState) sondern meine TAnimate-Kompo! Hab schon was gefunden, hab nur falsch gesucht!
Trotzdem THX!
Killi Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 299

Win*
D6 Prof
BeitragVerfasst: Mo 20.10.03 13:42 
Um genauer zu sein:
Alles maximieren, MediaPlayer.Open und dann:

Video.DisplayRect:= Rect(0,0,screen.width,screen.height);