BCGSuite for MFC
BOOL CBCGPEditCtrl::DeleteMarker ( int  nRow,
DWORD  dwMarkerType,
BOOL  bRedraw = TRUE 
)

Deletes a marker of specified type at the particular row.

Returns
TRUE if a marker was deleted successfully; otherwise FALSE.

Call this function to delete a marker of specified by dwMarkerType type from the specified by nRow row. DeleteMarker calls OnRemoveMarker() to notify about the marker deletion.

Parameters
nRowThe row at which a marker should be deleted.
dwMarkerTypeSpecifies the marker type to delete. It can be a combination of various marker types or -1 do delete all markers.
bRedrawSpecifies whether the marker area should be redrawn.