1. Computing


To play a system sound ("application even" or "system even" as called by MS), you can call the PlaySound API function, available in the mmsystem unit.

The PlaySound function plays a sound specified by the given filename, resource, or system event. System event are, in general, associated with a sound in the registry.

Related: Controling sound volume from code | Play a Sound When the Mouse Enters / Exits a Control | Programmatically Get and Set the MediaPlayer Sound Volume

Comments are closed for this post.
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

©2014 About.com. All rights reserved.