EM_SCROLLCARET

An application sends an EM_SCROLLCARET message to scroll the caret into view in an edit control.

EM_SCROLLCARET

wParam = 0 ; // not used now; reserved for future use; must be zero

lParam = 0 ; // not used now; reserved for future use; must be zero

Parameters

wParam

This parameter is currently unused. It is reserved for future use. It should be set to zero.

lParam

This parameter is currently unused. It is reserved for future use. It should be set to zero.

Return Values

The return value is nonzero if the message is sent to an edit control.

Remarks

In previous versions of Windows, scrolling the caret into view was done by specifying wParam = FALSE in the EM_SETSEL message. A Win32-based application should use the EM_SCROLLCARET message to scroll the caret into view.

See Also

EM_SETSEL