共用方式為


CScrollBar Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

CScrollBar

Constructs a CScrollBar object.

Initialization

Create

Creates the Windows scroll bar and attaches it to the CScrollBar object.

Operations

EnableScrollBar

Enables or disables one or both arrows of a scroll bar.

GetScrollBarInfo

Retrieves information about the scroll bar using a SCROLLBARINFO structure.

GetScrollInfo

Retrieves information about the scroll bar.

GetScrollLimit

Retrieves the limit of the scroll bar

GetScrollPos

Retrieves the current position of a scroll box.

GetScrollRange

Retrieves the current minimum and maximum scroll-bar positions for the given scroll bar.

SetScrollInfo

Sets information about the scroll bar.

SetScrollPos

Sets the current position of a scroll box.

SetScrollRange

Sets minimum and maximum position values for the given scroll bar.

ShowScrollBar

Shows or hides a scroll bar.

See Also

Concepts

CScrollBar Class

Hierarchy Chart