BCGControlBar Pro for MFC
virtual bool CBCGPEditMarker::CompareData ( DWORD_PTR  dwData) const
inlinevirtual

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

Returns
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.

Parameters
dwDataSpecifies the data to compare with.