POSITION CBCGPEditCtrl::SetMarker | ( | CBCGPEditMarker * | pMarker, |
int | nRow = -1 , |
||
BOOL | bRedraw = TRUE |
||
) |
Sets a marker at the specified row.
Call this function to set a new marker at the specified row. If nRow is -1 the marker is set at the current row. You can set the returned value in order to have the direct access to the added marker later.
You must dynamically allocate pMarker in the caller function.
nRow | Specifies the marker's row (zero-based). |
bRedraw | Specifies whether to redraw the marker area. |
pMarker | Pointer to the marker to set. |