An application sends the EM_GETTHUMB message to retrieve the position of the scroll box (thumb) in a multiline edit control.
EM_GETTHUMB 
wParam = 0;  // not used, must be zero 
lParam = 0;  // not used, must be zero 
 This message has no parameters.
The return value is the position of the scroll box.
  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winuser.h.
Edit Controls Overview, Edit Control Messages