BCGSoft Professional Editor for MFC
virtual bool CBCGPEditMarker::CompareData ( DWORD_PTR  dwData) const

Called by the edit control when it needs to compare two markers by user-defined data.

TRUE if the compared data is equal, otherwise FALSE.

This function is called by the edit control from CBCGPEditCtrl::FindMarkerByData and CBCGPEditCtrl::GetMarkerListByData methods. If you define your own types of markers and derive them from CBCGPEditMarker you can override CompareData for the custom comparison.

dwDataSpecifies the data to compare with.