BCGSoft Professional Editor for MFC
virtual CBCGPEditOutlineRange CBCGPOutlineBaseNode::IsInRangeByOffset ( int  nStartPos,
int  nEndPos 
) const
inlinevirtual

Called by the edit control when it needs to determine whether the collapsible is placed within some range.

Returns
FULL_IN_RANGE value if the collapsible node is placed within the specified range, otherwise NOT_IN_RANGE. The functions returns PARTIAL_IN_RANGE value if a collapsible node (its start or end offsets) intersects the specified range.

This function is called by the edit control when it needs to determine whether a collapsible node is placed within offsets specified by nStartPos and nEndPos range.

Parameters
nStartPosSpecifies the top zero-based offset in the internal buffer of the edit control.
nEndPosSpecifies the bottom zero-based offset in the internal buffer of the edit control.