BCGSuite for MFC
void CBCGPEditCtrl::SelectLineRange ( int  nFromLine,
int  nToLine,
BOOL  bNoScroll = FALSE,
BOOL  bRedraw = TRUE 
)

Selects several lines.

Use this function to select a couple of lines. The previous selection is removed.

Parameters
nFromLineFirst line to select.
nToLineLast line to select.
bNoScrollIf TRUE, the line will be selected, but without text scrolling to the new caret position.
bRedrawSpecifies whether the edit control should be redrawn.