BCGSuite for MFC
void CBCGPEditCtrl::EnableSyntaxHilightingOnSelection ( BOOL  bEnable = TRUE,
BOOL  bRedraw = TRUE 
)

Enables or disables the syntax hilighting on the selection area.

Parameters
bEnableTRUE to enable, FALSE to disable.
bRedrawSpecifies whether the edit control should be redrawn.