RichEdit_GetScrollPosfunction
Obtains the current scroll position of the edit control.
Syntax
FUNCTION RichEdit_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 RichEdit_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/AfxRichEdit.inc:437
- Documented in Windows/WIndows Controls/RichEdit/RichEdit Procedures.md
- Topic: RichEdit Procedures