| BOOL CBCGPEditCtrl::SetMarkerData | ( | int | nRow, |
| LPVOID | lpData, | ||
| DWORD | dwMarkerType, | ||
| BOOL | bRedraw = TRUE |
||
| ) |
Associates the user-defined data with a marker.
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()).
| nRow | Specifies the marker's row (zero-based). |
| lpData | The data to assign. |
| dwMarkerType | Specifies the marker type. Should be used if several types of markers can be placed at the same row. |
| bRedraw | Specifies whether the marker should be redrawn. |