Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The SCROLLBARINFO structure contains scroll bar information.
Syntax
typedef struct tagSCROLLBARINFO {
DWORD cbSize;
RECT rcScrollBar;
int dxyLineButton;
int xyThumbTop;
int xyThumbBottom;
int reserved;
DWORD rgstate[CCHILDREN_SCROLLBAR + 1];
} SCROLLBARINFO, *PSCROLLBARINFO, *LPSCROLLBARINFO;
Members
cbSize
Type: DWORD
Specifies the size, in bytes, of the structure. Before calling the GetScrollBarInfo function, set cbSize to sizeof(SCROLLBARINFO).
rcScrollBar
Type: RECT
Coordinates of the scroll bar as specified in a RECT structure.
dxyLineButton
Type: int
Height or width of the thumb.
xyThumbTop
Type: int
Position of the top or left of the thumb.
xyThumbBottom
Type: int
Position of the bottom or right of the thumb.
reserved
Type: int
Reserved.
rgstate[CCHILDREN_SCROLLBAR + 1]
Type: DWORD[CCHILDREN_SCROLLBAR+1]
An array of DWORD elements. Each element indicates the state of a scroll bar component. The following values show the scroll bar component that corresponds to each array index.
| Index | Scroll bar component |
|---|---|
| 0 | The scroll bar itself. |
| 1 | The top or right arrow button. |
| 2 | The page up or page right region. |
| 3 | The scroll box (thumb). |
| 4 | The page down or page left region. |
| 5 | The bottom or left arrow button. |
The DWORD element for each scroll bar component can include a combination of the following bit flags.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2003 [desktop apps only] |
| Header | winuser.h (include Windows.h) |
| Redistributable | Service Pack 6 |
See also
Conceptual
Other Resources
Reference