SCROLLBARINFO structure
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
-
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
|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server | Windows 2000 Server [desktop apps only] |
|
Redistributable | Service Pack 6 |
|
Header |
|
See also
- Reference
- GetScrollBarInfo
- Conceptual
- Scroll Bars
- Other Resources
- RECT
Send comments about this topic to Microsoft
Build date: 10/27/2012
