Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Gets the range of a scroll bar.
Note This macro expands to a call to the GetScrollRange function, which is deprecated. New applications should use the GetScrollInfo function.
Syntax
BOOL ScrollBar_GetRange(
HWND hwndCtl,
int *lpposMin,
int *lpposMax
);
Parameters
hwndCtl
Type: HWND
A handle to the control.
lpposMin
Type: int*
Address of a variable that receives the minimum value of the scroll bar.
lpposMax
Type: int*
Address of a variable that receives the maximum value of the scroll bar.
Return value
Type: BOOL
TRUE if the call succeeded; otherwise FALSE.
Remarks
For more information, see GetScrollRange.
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 |