IVTxtDialogs::LexiconDlg

HRESULT LexiconDlg(HWND hWndParent, PTSTR pszTitle);

Displays a Lexicon dialog box that allows the user to view and edit the pronunciation lexicon. For example, the user can edit the phonetics of mispronounced words so that the engine pronounces them properly.

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

VTXTERR_INVALIDMODE
VTXTERR_INVALIDPARAM
VTXTERR_INVALIDWINDOW
VTXTERR_NOTSUPPORTED
VTXTERR_OUTOFMEM

hWndParent

[in] Handle of the parent window. If this parameter is NULL, the engine returns NOERROR if it supports the Lexicon dialog box or VTXTERR_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.