Export (0) Print
Expand All
Expand Minimize

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

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Redistributable

Rich Edit 3.0

Header

Richedit.h

See also

EM_SETSCROLLPOS

 

 

Community Additions

ADD
Show:
© 2014 Microsoft