DefaultSoundFile Property (Alert Control)
Windows - Visual C++
Description
The DefaultSoundFile property
specifies a .wav file that will be played, provided the DefaultAudibleAlert
property is set, upon a new alert for any profile that does not have its SoundFile
property set.
Syntax
CString filename = GetDefaultSoundFile();
void
SetDefaultSoundFile(LPCTSTR filename);
The DefaultSoundFile syntax has
these parts:
Part |
Description |
|
filename |
A string containing the path and filename of a .wav file. |
Remarks
The default value is "".
See Also: DefaultAudibleAlert SoundFile
Back to: Alert Properties