The ShowSounds parameter indicates whether the user wants applications to present all important information in visual form.
The user controls the setting of the ShowSounds parameter by using the Accessibility Control Panel application or another application for customizing the environment. These applications use the SPI_GETSHOWSOUNDS and SPI_SETSHOWSOUNDS flags with the SystemParametersInfo function to get and set the ShowSounds parameter.
Applications can use the SM_SHOWSOUNDS flag with the GetSystemMetrics function to determine the state of the ShowSounds parameter. This is necessary only for applications that would typically present important information by sound alone. Applications should provide ShowSounds support if they use sounds in either of the following ways:
Appropriate visual feedback forms can make the software much more functional for users who cannot rely on sound alone. It is entirely up to you to decide how best to convey this same information in visual form. For example, in order to attract the user's attention when new electronic mail arrives, the application might flash its window or even flash the entire screen. If the application typically makes sound to indicate that the user is trying to perform an illegal operation, it could also display an appropriate message on its status line or use the MessageBox function to display a specific error message. If the application is typically designed to play sound bites that carry meaning, such as digitized speech, it could also display a caption window with the same text.
Redundant use of audible and visual alerts has been shown to increase the usability of software applications. The ShowSounds parameter is a request for visual feedback, but its use does not restrict an application to presenting information visually. Users should be able to request visual feedback regardless of whether they also want audible feedback.