BCGSoft Professional Editor for MFC
void CBCGPEditCtrl::DeleteAllMarkers ( DWORD  dwMarkerType = (DWORD)-1,
BOOL  bRedraw = TRUE 
)

Removes all markers.

Call this function to remove all markers (bookmarks) of the specified by dwMarkerType type from the edit control. You can set dwMarkerType to -1 to remove markers of all types.

You can use SetMarker() or ToggleMarker() to add a marker to the edit control.

Parameters
dwMarkerTypeSpecifies the combination of marker types to remove.
bRedrawSpecifies whether the marker area should be redrawn.