CStatusBarCtrl Methods

Construction Methods

Method Description
CStatusBarCtrl Constructs a CStatusBarCtrl object.
Create Creates a status bar control and attaches it to a CStatusBarCtrl object.

Attributes Methods

Method Description
SetText Sets the text in the specified part of a status bar control.
GetText Retrieves the text from the specified part of a status bar control.
GetTextLength Retrieve the length, in characters, of the text from the specified part of a status bar control.
SetParts Sets the number of parts in a status bar control and the coordinate of the right edge of each part.
GetParts Retrieves a count of the parts in a status bar control.
GetBorders Retrieves the current widths of the horizontal and vertical borders of a status bar control.
SetMinHeight Sets the minimum height of a status bar control’s drawing area.
SetSimple Specifies whether a status bar control displays simple text or displays all control parts set by a previous call to SetParts.
GetRect Retrieves the bounding rectangle of a part in a status bar control.
IsSimple Checks a status window control to determine if it is in simple mode.

Overridable Methods

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