ScrollBar_GetPos macro (windowsx.h)

Retrieves the position of the scroll box (thumb) in the specified scroll bar.

Note  This macro expands to a call to the GetScrollPos function, which is deprecated. New applications should use the GetScrollInfo function.
 

Syntax

void ScrollBar_GetPos(
   hwndCtl
);

Parameters

hwndCtl

Type: HWND

A handle to the control.

Return value

None

Remarks

For more information, see GetScrollInfo.

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