Presents a listbox (ie, dialog) containing the names of all speech engines installed upon a computer, and lets the user select one.
Synopsis
id = SpeechVoiceDlg(window)
Args
window is the handle to a window in which to open the "Pick a speaking voice" dialog. If omitted, the dialog opens on the desktop.
Returns
If successful, returns the speech engine's Id (to be passed to Speechopen). If the user cancels, or an error occurs, returns an empty string ("").
Notes
If you pass a non-numeric value for window, then a SYNTAX condition is raised. CONDITION('E') returns error number 40.12 and CONDITION('D') returns the message SpeechVoiceDlg argument 1 must be a whole number; found "<badarg>" where <badarg> is what you erroneously passed.