Click here to Skip to main content
12,890,879 members (55,184 online)
Click here to Skip to main content


107 bookmarked
Posted 6 Jan 2001

A Spell Checking Engine

, 5 Feb 2001
A free spell checking engine for use in your C++ applications. Includes the current US English dictionary
// FPSSpellCheckerDlg.h : header file

#if !defined(AFX_FPSSPELLCHECKERDLG_H__FEBAD493_26CC_45DB_A17D_21759905FF39__INCLUDED_)

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "FPSSpellCheckEngine.h"

// CFPSSpellCheckerDlg dialog

class CFPSSpellCheckerDlg : public CDialog
// Construction
	CFPSSpellCheckerDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	CListBox	m_lstPossibleMatches;
	CString	m_strWordToFind;
	CString	m_strWordCount;
	CString	m_strInWord;
	CString	m_strOutWord;
	CString	m_strInWord2;
	CString	m_strOutWord2;
	CString	m_strEditDiff;

	// ClassWizard generated virtual function overrides
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support

// Implementation
	virtual void RecalcEditDiff();
	virtual void DoTest(LPCSTR lpszTestWords);
	virtual void InitEngine();
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnSearch();
	afx_msg void OnTestEditctrl();
	afx_msg void OnChangeInword();
	afx_msg void OnDoTest();
	afx_msg void OnChangeInword2();

	CFPSSpellCheckEngine m_Engine;
	BOOL	m_bReady;

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

#endif // !defined(AFX_FPSSPELLCHECKERDLG_H__FEBAD493_26CC_45DB_A17D_21759905FF39__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

Matt Gullett
Web Developer
United States United States
No Biography provided

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170424.1 | Last Updated 6 Feb 2001
Article Copyright 2001 by Matt Gullett
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid