Partager via


Status Bars Messages (Compact 2013)

3/28/2014

The following table shows the status bars messages, with a description of the purpose of each.

Programming element

Description

SB_GETBORDERS

This message retrieves the current widths of the horizontal and vertical borders of a status window.

SB_GETICON

This message retrieves the icon for a part in a status bar.

SB_GETPARTS

This message retrieves a count of the parts in a status window.

SB_GETRECT

This message retrieves the bounding rectangle of a part in a status window.

SB_GETTEXT

This message retrieves the text from the specified part of a status window.

SB_GETTEXTLENGTH

This message retrieves the length, in characters, of the text from the specified part of a status window.

SB_ISSIMPLE

This message checks a status window control to determine if it is in simple mode.

SB_SETBKCOLOR

This message sets the background color in a status bar.

SB_SETICON

This message sets the icon for a part in a status bar.

SB_SETMINHEIGHT

This message sets the minimum height of a status window's drawing area.

SB_SETPARTS

This message sets the number of parts in a status window and the coordinate of the right edge of each part.

SB_SETTEXT

This message sets the text in the specified part of a status window.

SB_SIMPLE

This message specifies whether a status window displays simple text or displays all window parts set by a previous SB_SETPARTS message.

See Also

Reference

Status Bars Reference