BCGControlBar Pro for MFC
virtual CBCGPEditMarkerRange CBCGPEditMarker::IsInRange ( int  nStartPos,
int  nEndPos 
) const
inlinevirtual

Determines whether the marker is set between specified lines.

Returns
FULL_IN_RANGE value if the marker is set within the specified range, otherwise NOT_IN_RANGE.

This function is called by the edit control when it needs to determine whether the marker is set within the specified by nStartPos and nEndPos range. Usually, the marker is queried for its position when a couple of lines is deleted from the edit control.

You can override this method for the custom processing in a CBCGPEditMarker - derived class.

Parameters
nStartPosSpecifies the start line.
nEndPosSpecifies the end line.

Reimplemented in CBCGPLineColorMarker.