Autor Beitrag
Joker_07
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: Do 05.06.08 17:58 
ich arbeite derzeit an einem mediaplayer habe den display wo man sich videos anschauen kann in einem seperaten fenster, mein problem aber jetzt ist, ich möchte wenn ich eine videodatei öffne, dass mein programm das erkennt und nur in diesem falle dieses Display sichtbar macht ...bei musik wie mp3 soll dieses fenster mit dem display verschwinden, und mein größtes problem dabei ist wie soll ich es anstellen, dass mein programm erkennt ob es ich hierbei um eine audiodatei handelt oder um eine videodatei? Danke im vorraus
mfg Joker_07


Moderiert von user profile iconChristian S.: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Do 05.06.2008 um 20:09
huuuuuh
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 665
Erhaltene Danke: 19

win xp, (win vista), win 7
VS 2008 Express Edition, VS 2010 Express Edition, VS 2010 Professionell
BeitragVerfasst: Do 05.06.08 18:39 
prüf die dateiendung würd ich sagen...
oder mal bei mp3 einfach ne visualisierung ins fenster
nagel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 708

Win7, Ubuntu 10.10

BeitragVerfasst: Do 05.06.08 18:59 
Ich vermute jetzt mal, dass du mit TMediaPlayer arbeitest. mpUsesWindows in der Eigenschaft Capabilities könnte weiterhelfen.