Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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 |