BCGControlBar Pro for MFC
void CBCGPEditCtrl::SetMarkerData ( POSITION  pos,
DWORD_PTR  dwData 
)

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
posPosition in the internal list of markers. Returned by SetMarker(), InsertMarker(), GetMarker().
dwDataThe data to assign.