CRichEdit.GetScrollPosmethod
Obtains the current scroll position of the edit control.
Syntax
FUNCTION GetScrollPos (BYVAL hRichEdit AS HWND, BYVAL lppt AS POINT PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
lppt | Pointer to a POINT structure. After calling GetScrollPos, this parameters contains a point in the virtual text space of the document, expressed in pixels. This point will be the point that is currently located in the upper-left corner of the edit control window. |
Description
Retrieves the current scroll position of the edit control.
Remarks
The values returned in the POINT structure are 16-bit values (even in the 32-bit wide fields).
Reference
- Defined in AfxNova/CRichEdit.inc:622
- Documented in Windows/WIndows Controls/CRichEdit Class.md
- Topic: CRichEdit Class