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.
nLine | Specifies a line to select. |
bNoScroll | If TRUE, the line will be selected, but without text scrolling to the new caret position. |
bRedraw | Specifies whether the edit control should be redrawn. |