8.53 Windows Sound

8.53.0.1 SND_DEFAULT

include std/win32/sounds.e
namespace sound
public constant SND_DEFAULT

8.53.0.2 SND_STOP

include std/win32/sounds.e
namespace sound
public constant SND_STOP

8.53.0.3 SND_QUESTION

include std/win32/sounds.e
namespace sound
public constant SND_QUESTION

8.53.0.4 SND_EXCLAMATION

include std/win32/sounds.e
namespace sound
public constant SND_EXCLAMATION

8.53.0.5 SND_ASTERISK

include std/win32/sounds.e
namespace sound
public constant SND_ASTERISK

8.53.0.6 sound

include std/win32/sounds.e
namespace sound
public procedure sound(atom sound_type = SND_DEFAULT)

Makes a sound.

Parameters:
  1. sound_type: An atom. The type of sound to make. The default is SND_DEFAULT.
Comments:

The sound_type value can be one of ...

  • SND_ASTERISK
  • SND_EXCLAMATION
  • SND_STOP
  • SND_QUESTION
  • SND_DEFAULT

These are sounds associated with the same Windows events via the Control Panel.

Example:
sound( SND_EXCLAMATION )