Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CEdit::LineScroll
CEdit                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  void LineScroll( int nLines, int nChars = 0 );
 
  Parameter   Description
 
  <nLines>    Specifies the number of lines to scroll vertically.
 
  <nChars>    Specifies the number of character positions to scroll
              horizontally.
 
  Remarks
 
  Scrolls the text of a multiple-line edit control.
 
  This member function is only processed by multiple-line edit controls.
 
  The edit control will not scroll vertically past the last line of text
  in the edit control. If the current line plus the number of lines
  specified by <nLines> exceeds the total number of lines in the edit
  control, the value will be adjusted such that the last line of the edit
  control is scrolled to the top of the edit-control window.
 
  LineScroll can be used to scroll horizontally past the last character of
  any line.
 
  A call to this member function will be ignored if the multiple-line edit
  control was not created with the ES_LEFT style.
 
  See Also
 
  EM_LINESCROLL
 
 
                                     -♦-