Click here to Skip to main content
13,141,747 members (58,396 online)
Click here to Skip to main content


161 bookmarked
Posted 20 Jan 2003

Threads with MFC

, 1 Feb 2003
Multithreading Programming with a MFC environment.
#if !defined(AFX_TEXTTOSPEECH_H__EB1EA09F_D1B9_4143_994E_839523861CE0__INCLUDED_)
#define AFX_TEXTTOSPEECH_H__EB1EA09F_D1B9_4143_994E_839523861CE0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++

// NOTE: Do not modify the contents of this file.  If this class is regenerated by
//  Microsoft Visual C++, your modifications will be overwritten.

// CTextToSpeech wrapper class

class CTextToSpeech : public CWnd
	CLSID const& GetClsid()
		static CLSID const clsid
			= { 0x2398e32f, 0x5c6e, 0x11d1, { 0x8c, 0x65, 0x0, 0x60, 0x8, 0x18, 0x41, 0xde } };
		return clsid;
	virtual BOOL Create(LPCTSTR lpszClassName,
		LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect,
		CWnd* pParentWnd, UINT nID,
		CCreateContext* pContext = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }

    BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
		const RECT& rect, CWnd* pParentWnd, UINT nID,
		CFile* pPersist = NULL, BOOL bStorage = FALSE,
		BSTR bstrLicKey = NULL)
	{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
		pPersist, bStorage, bstrLicKey); }

// Attributes

// Operations
	long GetInitialized();
	void SetInitialized(long nNewValue);
	void Speak(LPCTSTR Text);
	void StopSpeaking();
	void FastForward();
	void Pause();
	void Resume();
	void Rewind();
	long GetDevice();
	void SetDevice(long nNewValue);
	long GetEnabled();
	void SetEnabled(long nNewValue);
	long GetIsSpeaking();
	long GetSpeed();
	void SetSpeed(long nNewValue);
	CString GetTTSMode();
	void SetTTSMode(LPCTSTR lpszNewValue);
	void AboutDlg(long hWnd, LPCTSTR title);
	void GeneralDlg(long hWnd, LPCTSTR title);
	void LexiconDlg(long hWnd, LPCTSTR title);
	void TranslateDlg(long hWnd, LPCTSTR title);
	long GetFindEngine(LPCTSTR EngineId, LPCTSTR MfgName, LPCTSTR ProductName, LPCTSTR ModeID, LPCTSTR ModeName, long LanguageID, LPCTSTR dialect, LPCTSTR Speaker, LPCTSTR Style, long Gender, long Age, long Features, long Interfaces, 
		long EngineFeatures, long RankEngineID, long RankMfgName, long RankProductName, long RankModeID, long RankModeName, long RankLanguage, long RankDialect, long RankSpeaker, long RankStyle, long RankGender, long RankAge, long RankFeatures, 
		long RankInterfaces, long RankEngineFeatures);
	long GetCountEngines();
	CString ModeName(long index);
	CString MfgName(long index);
	CString ProductName(long index);
	CString ModeID(long index);
	CString Speaker(long index);
	CString Style(long index);
	long Gender(long index);
	long Age(long index);
	long Features(long index);
	long Interfaces(long index);
	long EngineFeatures(long index);
	long LanguageID(long index);
	CString dialect(long index);
	short GetMouthHeight();
	void SetMouthHeight(short nNewValue);
	short GetMouthWidth();
	void SetMouthWidth(short nNewValue);
	short GetMouthUpturn();
	void SetMouthUpturn(short nNewValue);
	short GetJawOpen();
	void SetJawOpen(short nNewValue);
	short GetTeethUpperVisible();
	void SetTeethUpperVisible(short nNewValue);
	short GetTeethLowerVisible();
	void SetTeethLowerVisible(short nNewValue);
	short GetTonguePosn();
	void SetTonguePosn(short nNewValue);
	short GetLipTension();
	void SetLipTension(short nNewValue);
	long GetLastError();
	void SetLastError(long nNewValue);
	short GetSuppressExceptions();
	void SetSuppressExceptions(short nNewValue);
	void Select(long index);
	short GetLipType();
	void SetLipType(short nNewValue);
	long GetCurrentMode();
	void SetCurrentMode(long nNewValue);
	long GetHWnd();
	long Find(LPCTSTR RankList);

// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_TEXTTOSPEECH_H__EB1EA09F_D1B9_4143_994E_839523861CE0__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


About the Author

Aria Ansari
Software Developer
Denmark Denmark
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.170915.1 | Last Updated 2 Feb 2003
Article Copyright 2003 by Aria Ansari
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid