共用方式為


CReBarCtrl Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Constructors

CReBarCtrl

Constructs a CReBarCtrl object.

Initialization

Create

Creates the rebar control and attaches it to the CReBarCtrl object.

CreateEx

Creates a rebar control with the specified Windows extended styles and attaches it to a CReBarCtrl object.

Attributes

GetBandBorders

Retrieves the borders of a band.

GetBandCount

Retrieves the count of bands currently in the rebar control.

GetBandInfo

Retrieves information about a specified band in a rebar control.

GetBandMargins

Retrieves the margins of a band.

GetBarHeight

Retrieves the height of the rebar control.

GetBarInfo

Retrieves information about the rebar control and the image list it uses.

GetBkColor

Retrieves a rebar control's default background color.

GetColorScheme

Retrieves the COLORSCHEME structure associated with the rebar control.

GetDropTarget

Retrieves a rebar control's IDropTarget interface pointer.

GetExtendedStyle

Gets the extended style of the current rebar control.

GetImageList

Retrieves the image list associated with a rebar control.

GetPalette

Retrieves the rebar control's current palette.

GetRect

Retrieves the bounding rectangle for a given band in a rebar control.

GetRowCount

Retrieves the number of band rows in a rebar control.

GetRowHeight

Retrieves the height of a specified row in a rebar control.

GetTextColor

Retrieves a rebar control's default text color.

GetToolTips

Retrieves the handle to any tool tip control associated with the rebar control.

IDToIndex

Converts a band identifier (ID) to a band index in a rebar control.

SetBandInfo

Sets characteristics of an existing band in a rebar control.

SetBandWidth

Sets the width of the specified docked band in the current rebar control.

SetBarInfo

Sets the characteristics of a rebar control.

SetBkColor

Sets a rebar control's default background color.

SetColorScheme

Sets the color scheme for the buttons on a rebar control.

SetImageList

Sets a rebar control's image list.

SetOwner

Sets a rebar control's owner window.

SetPalette

Sets the rebar control's current palette.

SetTextColor

Sets a rebar control's default text color.

SetToolTips

Associates a tool tip control with the rebar control.

SetWindowTheme

Sets the visual style of the rebar control.

Operations

BeginDrag

Places the rebar control into drag-and-drop mode.

DeleteBand

Deletes a band from a rebar control.

DragMove

Updates the drag position in the rebar control after a call to BeginDrag.

EndDrag

Terminates the rebar control's drag-and-drop operation.

HitTest

Determines which portion of a rebar band is at a given point on the screen, if a rebar band exists at that point.

InsertBand

Inserts a new band in a rebar control.

MaximizeBand

Resizes a band in a rebar control to its largest size.

MinimizeBand

Resizes a band in a rebar control to its smallest size.

MoveBand

Moves a band from one index to another.

PushChevron

Programmatically pushes a chevron.

RestoreBand

Resizes a band in a rebar control to its ideal size.

ShowBand

Shows or hides a given band in a rebar control.

SizeToRect

Fits a rebar control to a specified rectangle.

See Also

Concepts

CReBarCtrl Class

Hierarchy Chart