Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
EnableSound method 
 
Remarks 
Enables or disables the specified sound. By default all the sounds are initially enabled. 
 
Syntax 
Visual Basic 
control.EnableSound (nSound as Integer, bEnable as boolean) 
 
Visual C++ 
void control.EnableSound (short nSound, BOOL bEnable); 
 
Parameter
Description
 
 
nSound
Numerical value that identifies the sound to be enabled or disabled. Supported values are the following: 
Mnemonic constant
Value
Meaning
SOUND_DOWN
0
The sound that occurs when the button is pressed.
SOUND_UP
1
The sound that occurs when the button is released.
SOUND_MOUSEOVER
2
The sound that occurs when the mouse enters the button area
SOUND_MOUSEOUT
3
The sound that occurs when the mouse leaves the button area
bEnable
Boolean value that specifies whether to enable or disable the sound.. Supported values are the following: 
Value
Meaning
FALSE
The sound is disabled
TRUE (default)
The sound is enabled.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index