An application sends an EM_SCROLLCARET message to scroll the caret into view in an edit control.
EM_SCROLLCARET 
wParam = 0 ;    // not used now; reserved for future use; must be zero 
lParam = 0 ;    // not used now; reserved for future use;  must be zero 
 The return value is nonzero if the message is sent to an edit control.
  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winuser.h.
Edit Controls Overview, Edit Control Messages, EM_SETSEL