Español
Incluye

MCIClass.inc

 


Descripción:

El MCIClass.inc enthält grundlegende Métodos para Abspielen de div. Media-Formaten por MCI. Welche Formate, hängt de los installierten Codecs de. Mit installiertem Media-Player dejar se z.B. *.wmv oder *.mpg abspielen. Desweiteren natürlich Sounddateien (WAVE, MP3 usw.)




Deklaration:

$I MCIClass.inc
Declarar MCI#
Dim MCI#, MCI




El wichtigsten Métodos:

MCI.Load(Nb&, FileName$)
MCI.Play(Nb&)
MCI.Pause(Nb&)
MCI.Stop(Nb&)
MCI.Libre(Nb&)
MCI.GetStatus(Nb&)
.GetStatus kann folgende Werte annehmen:
%MCI_UnKnown 0
%MCI_Stopped 1
%MCI_Playing 2
%MCI_Paused 3

Weitere Métodos:

MCI.PlayStart, MCI.PlayPart, MCI.Resume, MCI.SetVolume, MCI.GetVolume, MCI.Seek, MCI.GetLength, MCI.GetPosition


Ejemplo:

 $I MCIClass.inc
Declarar MCI#, Pfad$
Dim MCI#, MCI
Título de la ventana "Simple Mini-MP3-Player"
Ventana de Estilo 31
Ventana 100, 100 - 370, 50
ClearList
Pfad$ = ChooseDir$("Bitte MP3-Ordner wählen:")

If Pfad$ <> ""

    AddFiles "*.mp3"

Más

    Disponer MCI#
    End

EndIf

Imprimir " Zum final, simplemente Ventana schließen"

WhileLoop 0, %GetCount

    Título de la ventana FindFirst$(ListBoxItem$(&Loop))

    With MCI#

        .Load(1, ListBoxItem$(&Loop))
        .Play(1)

        Mientras que .GetStatus(1) = %MCI_Playing

            Sleep 100

        EndWhile

        .Libre(1)

    EndWith

EndWhile

Disponer MCI#

2 kB
Hochgeladen:24.05.2005
Ladeanzahl306
Descargar
 
24.05.2005  
 



Respuesta


Título del Tema, max. 100 Signo.
 

Systemprofile:

Kein Systemprofil creado. [anlegen]

XProfan:

 Contribución  Font  Smilies  ▼ 

Bitte registro en una Contribución a verfassen.
 

Tema opciones

4.744 Views

Untitledvor 0 min.
Member 862464112.05.2024
Gast-081515.08.2021
H.Brill24.10.2020
Andre Rohland24.07.2018
Más...

Themeninformationen

Dieses Thema ha 1 subscriber:

unbekannt (1x)


Admins  |  AGB  |  Applications  |  Autores  |  Chat  |  Política de Privacidad  |  Descargar  |  Entrance  |  Ayuda  |  Merchantportal  |  Pie de imprenta  |  Mart  |  Interfaces  |  SDK  |  Services  |  Juegos  |  Búsqueda  |  Support

Ein Projekt aller XProfan, el lo son!


Mi XProfan
Privado Noticias
Eigenes Ablageforum
Temas-Merkliste
Eigene Beiträge
Eigene Temas
Zwischenablage
Cancelar
 Deutsch English Français Español Italia
Traducciones

Política de Privacidad


Wir uso Cookies sólo como Session-Cookies wegen el technischen Notwendigkeit y en uns hay no Cookies de Drittanbietern.

Wenn du hier en unsere Webseite klickst oder navigierst, stimmst du unserer Erfassung de Informationen en unseren Cookies en XProfan.Net a.

Weitere Informationen a unseren Cookies y dazu, como du el Kontrolle darüber behältst, findest du en unserer nachfolgenden Datenschutzerklärung.


einverstandenDatenschutzerklärung
Yo möchte no Cookie