BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::IsCorrectWord ( const CString &  strWord,
int  iWordStart,
int  nColorBlockID 
) const
inlinevirtual

Called by the framework when it needs to obtain a word "corectness" status.

Parameters
strWordThe word to be checked for the correctness.
iWordStartZero-based index of the word.
nColorBlockIDIdentifier for the color block.
Returns
TRUE if the word is correct, FALSE if not.

Override this method to check whether a specified word is a correct. If the word is incorrect, a red curved line will be drawn under the word. By default, all words are treated as correct

This method is called only if method EnableErrorIndication() was previously called with parameter TRUE.