共用方式為


CStatusBarCtrl Members

Base Class Members

CObject Members

CCmdTarget Members

CWnd Members

Construction

Create

Creates a status bar control and attaches it to a CStatusBarCtrl object.

CreateEx

Creates a status bar control with the specified Windows extended styles and attaches it to a CStatusBarCtrl object.

CStatusBarCtrl

Constructs a CStatusBarCtrl object.

Attributes

GetBorders

Retrieves the current widths of the horizontal and vertical borders of a status bar control.

GetRect

Retrieves the bounding rectangle of a part in a status bar control.

GetText

Retrieves the text from the given part of a status bar control.

GetTipText

Retrieves the tooltip text for a pane in a status bar.

SetIcon

Sets the icon for a pane in a status bar.

SetMinHeight

Sets the minimum height of a status bar control's drawing area.

SetParts

Sets the number of parts in a status bar control and the coordinate of the right edge of each part.

SetSimple

Specifies whether a status bar control displays simple text or displays all control parts set by a previous call to SetParts.

GetIcon

Retrieves the icon for a part (also known as a pane) in the current status bar control.

SetText

Sets the text in the given part of a status bar control.

GetTextLength

Retrieve the length, in characters, of the text from the given part of a status bar control.

SetTipText

Sets the tooltip text for a pane in a status bar.

SetBkColor

Sets the background color in a status bar.

IsSimple

Checks a status window control to determine if it is in simple mode.

GetParts

Retrieves a count of the parts in a status bar control.

Overridables

DrawItem

Called when a visual aspect of an owner-draw status bar control changes.

See Also

Concepts

CStatusBarCtrl Class

Hierarchy Chart