Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

A Spell Checking Engine

, 5 Feb 2001
A free spell checking engine for use in your C++ applications. Includes the current US English dictionary

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PrPgeSpellOptions_Common.h : header file

class CFPSSpellCheckEngine;
#include "DlgSpellChecker.h"

// CPrPgeSpellOptions_Common dialog

class CPrPgeSpellOptions_Common : public CPropertyPage

// Construction
	virtual void Save(CFPSSpellCheckEngine* pEngine);

	CFPSSpellCheckEngine*	m_pEngine;

// Dialog Data
	CListCtrl	m_lstWords;
	CString	m_strCorrect;
	CString	m_strInCorrect;

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

// Implementation
	virtual void CleanupWordList();
	virtual void UpdateListControl();
	virtual void UpdateEditControls();
	virtual void AddEntry(LPCSTR lpszIncorrect, LPCSTR lpszCorrect);
	virtual void BuildList();
	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnChangeCorrect();
	afx_msg void OnChangeIncorrect();
	afx_msg void OnClickList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnKeydownList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnItemchangedList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDestroy();

	BOOL	m_bChangeEdit;
	BOOL	m_bDisplayed;

	CTypedPtrList<CPtrList, CDlgSpellChecker_CHANGEALL*> m_Words;


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

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

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