1. Computing

Enumerating and Playing System Sounds from Delphi code

From Zarko Gajic, About.com GuideOctober 1, 2009

Follow me on:

TIPS ::

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
No comments yet. Leave a Comment
Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>
Top Related Searches delphi code system sounds delphi

©2013 About.com. All rights reserved.