BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::IsCorrectWord ( const CString &  strWord,
int  iWordStart,
int  nColorBlockID 
) const

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

strWordThe word to be checked for the correctness.
iWordStartZero-based index of the word.
nColorBlockIDIdentifier for the color block.
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.