BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::Up ( BOOL  bSetCaretToMaxColumn = TRUE,
BOOL  bRedrawOnScroll = TRUE 

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

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

This function moves the caret to the previous line and scrolls the window if necessary.

bSetCaretToMaxColumnIf TRUE the caret will be set to the maximal column, otherwise on the same column.
bRedrawOnScrollSpecifies whether the edit control should be redrawn if scrolling has occured as a result of this operation.