BCGSoft Professional Editor for MFC
virtual void CBCGPEditCtrl::OnDrawErrorIndication ( CDC *  pDC,
CRect  rectText 

Called when the edit control needs to draw an error indication.

pDCA pointer to a device context.
rectTextAn incorrect word bounding rectangle.

By default. the framework draws a red curvy line under the incorrect word. Override this method if you need to customize the error indication appearance.