BCGSuite for MFC
virtual BOOL CBCGPEditCtrl::Home ( BOOL  bRedrawOnScroll = TRUE)
virtual

Moves caret to the beginning of the current line.

Returns
Nonzero if the function succeeds; otherwise 0.

This function moves the caret to the beginning of the text in the current line. If the caret has been already moved to the beginning of text, it's placed at the beginning of the current line.

Parameters
bRedrawOnScrollIf TRUE the edit control will be redrawn if the text has to be scrolled to perform this operation.