Type of event triggered when a dialog is displayed to play a specific sound.
TGetCustomSoundEvent = procedure (Sender: TObject; var Sound: string; var Flags: Cardinal; var Handled: Boolean) of object;
JSDialog
Allows the user to return the name of the sound to be played as well as the flags required to play the sound. If you choose to not handle this event and the PlaySounds property is true, the system default sound for the MainIcon value will display.
If the MainIcon value is tdiCustom, then no sound will play. If the MainIcon value is tdiShield and the operating system is not Vista or higher, then no sound will play when the dialog is displayed.
Copyright © 2013 by LMD Innovative. All rights reserved.
|
What do you think about this topic? Send feedback!
|