ITTSDialogs::TranslateDlg

HRESULT TranslateDlg(HWND hWndParent, PWSTR pszTitle);

Displays a Translation dialog box that lets the user control symbols, currencies, abbreviations, and number-translation techniques, such as whether to speak "34" as "thirty-four," "three four," or the old English "four and thirty." This dialog box also allows the user to control the translation of abbreviations and case sensitivity and how both affect the prosody of spoken text.

· Returns NOERROR if successful, or one of these error values:

<E_INVALIDARG>
<E_OUTOFMEMORY>
<TTSERR_INVALIDWINDOW>
<TTSERR_NOTSUPPORTED>
<TTSERR_VALUEOUTOFRANGE>

hWndParent

[in] Handle of the parent window. If this parameter is NULL, the engine returns NOERROR if it supports the Translation dialog box or TTSERR_NOTSUPPORTED if it does not.

pszTitle

[in] Address of the string to use as the title of the dialog box. This parameter can be NULL to direct the engine to provide a default title.