Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to code in VFP a volume control
Message
 
À
11/07/2001 21:11:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00529528
Message ID:
00529742
Vues:
9
>is there anyway to put into codes a volume control just like the windows volume control in which you can increase/decrease volumes...
>
>Thanx
Rommel,

MS KB Article Q178456 (SAMPLE: Volume.exe: Set Volume Control Levels Using Visual Basic) points to a download example in VB.

I believe the sample probably uses the waveOutSetVolume API call in MMSYSTEM. While I haven't tested it, from the samples I've seen this probably can be done from VFP, if the device supports it.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform