Düzenle

Aracılığıyla paylaş


EM_GETSCROLLPOS message

Obtains the current scroll position of the edit control.

Parameters

wParam

This parameter is not used; it must be zero.

lParam

Pointer to a POINT structure. After calling EM_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.

Return value

This message always returns 1.

Remarks

The values returned in the POINT structure are 16-bit values (even in the 32-bit wide fields).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Redistributable
Rich Edit 3.0
Header
Richedit.h

See also

EM_SETSCROLLPOS