BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::GoToLine ( int  nLineNum,
BOOL  bExpandBlock = TRUE,
BOOL  bRedrawOnScroll = TRUE 
)
virtual

Scrolls edit control to specified line.

Returns
Nonzero if the edit control was scrolled to specified line.

Outline blocks can be optionally expanded if the required line is hidden.

Parameters
nLineNumSpecifies the zero-based line number.
bExpandBlockIf TRUE and the required line is located within an outline block, the outline block will be expanded.
bRedrawOnScrollIf TRUE, the edit control will be redrawn after scrolling.