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.
Sets the position of the scroll box (thumb) in the specified scroll bar and, if requested, redraws the scroll bar to reflect the new position of the scroll box.
Syntax
BOOL ScrollBar_SetPos(
HWND hwndCtl,
int pos,
BOOL fRedraw
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
pos
Type: int
The new position of the scroll box.
fRedraw
Type: BOOL
TRUE to redraw the control; otherwise FALSE.
Return value
Type: BOOL
See SetScrollPos.
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 |