PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
MultimediaVolume (Function)
In french: MultimediaVolume
Returns or modifies the sound volume of the multimedia file played in a Multimedia control.
Example
Reports and QueriesUser code (UMC)
MyFile is string = "C:\My music\mysong.mp3"
// For Windows Mobile:
// MyFile is string = "\My Documents\My music\mysong.mp3"
 
MultimediaPlay(MM_Multimedia1, MyFile)
// Defines the sound
MultimediaVolume(MM_Multimedia1, 50)
Syntax

Finding out the sound volume Hide the details

<Result> = MultimediaVolume(<Multimedia control>)
<Result>: Integer
Current sound volume (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of Multimedia control to use.

Modifying the sound volume Hide the details

<Result> = MultimediaVolume(<Multimedia control> , <New volume>)
<Result>: Integer
Sound volume before modification (between 0 and 100, 0 for mute).
<Multimedia control>: Control name
Name of Multimedia control to use.
<New volume>: Integer
Requested sound volume (between 0 and 100, 0 for mute).
Component: wd260obj.dll
Minimum version required
  • Version 12
This page is also available for…
Comments
Click [Add] to post a comment