home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Multimedia & CD-ROM 4
/
mmcd04-julaug1995-cd.iso
/
applicat
/
educate
/
spmate12
/
spell.h$
/
spell.h
Wrap
C/C++ Source or Header
|
1993-07-13
|
699b
|
26 lines
// spell.h
// Functions to spellcheck a string and ObjectWindows TEdit using
// the Spelmate DLL.
// NOTE: this code is C++ but very few alterations are required to convert
// algorithms to C.
// (c) 1993, Stewart McSporran for Aciran Software Systems
#ifndef __SPELL_H
#define __SPELL_H
#include <edit.h>
// max length of word for the spell checker
const int MaxWordLen = 20;
// Spell checks a TEdit. Highlights any misspelt words before asking for
// a replacement when an error encountered.
void Spell(PTEdit pEdit);
// Spellchecks a string. Does not highlight anything simply asks for new
// word when an error encountered.
void Spell(LPSTR lpString);
#endif