BCGSoft Professional Editor for MFC
BOOL CBCGPEditCtrl::ScrollHome ( int  fnBar,
BOOL  bRedrawOnScroll 
)

Scrolls the edit control to the beginning of the text.

Returns
Nonzero if the function succeeds; otherwise 0.
Parameters
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.