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

Associates the user-defined data with a marker.

Returns
Nonzero if the function succeeds; it's zero if there is no marker of the specified type at the specified row.

Use this function to associate the user-defined data with a marker. You can later query the list of markers by this data (GetMarkerListByData()) or find a marker by this data (FindMarkerByData()).

Parameters
nRowSpecifies the marker's row (zero-based).
lpDataThe data to assign.
dwMarkerTypeSpecifies the marker type. Should be used if several types of markers can be placed at the same row.
bRedrawSpecifies whether the marker should be redrawn.