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 range of a scroll bar.
Syntax
BOOL ScrollBar_SetRange(
HWND hwndCtl,
int posMin,
int posMax,
BOOL fRedraw
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
posMin
Type: int
The minimum value of the scroll bar.
posMax
Type: int
The maximum value of the scroll bar.
fRedraw
Type: BOOL
TRUE to redraw the control; otherwise FALSE.
Return value
Type: BOOL
TRUE if the call succeeded; otherwise FALSE.
Remarks
For more information, see SetScrollRange.
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 |