CRichEdit.GetFirstVisibleLinemethod
Retrieves the zero-based index of the uppermost visible line in a multiline rich edit control.
Syntax
FUNCTION GetFirstVisibleLine (BYVAL hRichEdit AS HWND) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. |
Return value
The return value is the zero-based index of the uppermost visible line in a multiline edit control.
For single-line rich edit controls, the return value is zero.
Description
Retrieves the zero-based index of the uppermost visible line in a multiline edit control. You can send this message to either an edit control or a rich edit control.
Reference
- Defined in AfxNova/CRichEdit.inc:446
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class