Edit_Scroll macro (windowsx.h)

Scrolls the text vertically in a multiline edit or rich edit control. You can use this macro or send the EM_SCROLL message explicitly.

Syntax

void Edit_Scroll(
   HWND hwndCtl,
   int  dv,
   int  dh
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

dv

Type: int

The amount to scroll vertically.

dh

Type: int

The amount to scroll horizontally.

Return value

None

Remarks

For more information, see EM_SCROLL.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header windowsx.h