CEdit::LineScroll
翻译:www.cookbus.com 宇行
void LineScroll(
int nLines,
int nChars = 0
);
参数
- nLines
-
要垂直滚当到指定的行数。
- nChars
-
指定水平滚动的一些性质立场。这个只允许编辑控件的风格是 ES_RIGHT 或者 ES_CENTER 。
注释只有通过多行编辑控件才能处理这个成员函数。
The edit control does 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 is adjusted so 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.
For more information, see EM_LINESCROLL in the Platform SDK.
ExampleSee the example for CEdit::GetFirstVisibleLine.
See AlsoReference
CEdit Class
Hierarchy Chart
CEdit::LineIndex



#1