BCGSoft Professional Editor for MFC
void CBCGPEditCtrl::SelectLine ( int  nLine,
BOOL  bNoScroll = FALSE,
BOOL  bRedraw = TRUE 
)

Selects a line.

Call this function to select a line of text. The previous selection will be removed.

Parameters
nLineSpecifies a line to select.
bNoScrollIf TRUE, the line will be selected, but without text scrolling to the new caret position.
bRedrawIf TRUE, the edit control will be redrawn.