Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
int ScrollBar_GetPos(
HWND hwndCtl
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
Return value
Type: int
The current position of the scroll bar.
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 |