PyDocs

Nav

MS Windows Specific Services

MessageBeep

winsound

functionWindows
  • MessageBeep(type=MB_OK)
Call the underlying MessageBeep() function from the Platform API. This plays a sound as specified in the registry. The type argument specifies which sound to play; possible values are -1, MB_ICONASTERISK, MB_ICONEXCLAMATION, MB_ICONHAND, MB_ICONQUESTION, and MB_OK, all described below. The value -1 produces a “simple beep”; this is the final fallback if a sound cannot be played otherwise. If the system indicates an error, RuntimeError is raised.
0 Examples
No examples for winsound/MessageBeep.
See Also
No see-alsos for winsound/MessageBeep
0 Notes
No notes for MessageBeep