home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #1
/
Image.iso
/
cdd
/
winanw2
/
spelmate
/
spell.h
< prev
next >
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