BCGSuite for MFC
POSITION CBCGPEditCtrl::InsertMarker ( CBCGPEditMarker pMarker,
BOOL  bRedraw = TRUE 
)

Inserts a new marker into the list of markers.

Returns
Nonzero if the function succeeds; otherwise 0.

Call this function to insert a new marker into the list of markers. The function iterates the list of existing markers and inserts the new marker sorted by string number and marker type. The sort order is ascending.

Parameters
bRedrawSpecifies whether to redraw the marker area (TRUE) or not (FALSE).
pMarkerPoints to the marker to be inserted.