guides:programming:programmers_reference_manual:beep_method_system

BEEP method (System)

Method to play a Windows system sound.

Call Exec_Method( "SYSTEM", "BEEP", SoundID )

NameRequiredDescription
SoundIDNoIdentifies the sound to play. This is a numeric value that corresponds to one of the standard Windows system sounds.

SoundValueEquated to
OK0x00MB_OK$
Stop0x10MB_ICONSTOP$
Question0x20MB_ICONQUESTION$
Warning0x30MB_ICONWARNING$
Information0x40MB_ICONFORMATION$



The default is "OK" (MB_OK$)|

N/A

This method is a simple wrapper around the Windows API MessageBeep function so further information on this can be found on the MSDN website.

Equated constants for use with the BEEP method can be found in the MSWIN_MESSAGEBOX_EQUATES insert record.

N/A

 
// Emit the Windows Warning sound

  

  $Insert MSWin_MessageBox_Equates

  

  Call Exec_Method( "SYSTEM", "BEEP", MB_ICONWARNING$ )
 
 
  • guides/programming/programmers_reference_manual/beep_method_system.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1