|
Syntax
|
void abmEnableSound (
HWND hWndBtn,
short nSound,
BOOL bEnable
);
|
Parameters
|
Description
|
|
hWndBtn
|
Windows handle associated to the button.
|
|
nSound
|
The sound that will be enabled/disabled. Supported values are the following:
|
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 (0)
|
The sound is disabled.
|
|
TRUE (1)
|
The sound is enabled.
|
|
|