BCGControlBar Pro for MFC
BOOL CBCGPEditCtrl::ScrollEnd ( int  fnBar,
BOOL  bRedrawOnScroll 

Scrolls the edit control to the end of text or to the most right position of the horizontal scroll bar.

Nonzero if the function succeeds; otherwise 0.
fnBarThe scroll bar ID (SB_VERT or SB_HORZ)
bRedrawOnScrollSpecifies whether the edit control should be redrawn if scrolling has occured as a result of this operation.