BCGSuite for MFC
BOOL CBCGPEditCtrl::ScrollToCaret ( BOOL  bVCenter = FALSE,
BOOL  bRedrawOnScroll = TRUE 
)

Scroll to the currently focused editor location.

Parameters
bVCenterTRUE to v center.
bRedrawOnScrollIf TRUE, the editor line where caret is located will be centerred vertically.
Returns
TRUE if it succeeds, FALSE if it fails.