BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::Down ( BOOL  bSetCaretToMaxColumn = TRUE,
BOOL  bRedrawOnScroll = TRUE 

Moves the caret to the next line. Scrolls the window if necessary.

Nonzero if the caret was moved to the next line; otherwise 0.

This function moves the caret to the next line scrolling the window if necessary.

bSetCaretToMaxColumnIf TRUE the caret will be set to the maximal column, otherwise on the same column.
bRedrawOnScrollIf TRUE the edit control will be redrawn if the window has been scrolled.