CStatusBar::SetPaneInfo

voidSetPaneInfo(intnIndex**,UINTnID,UINTnStyle,intcxWidth);**

Parameters

nIndex

Index of the indicator pane whose style is to be set.

nID

New ID for the indicator pane.

nStyle

New style for the indicator pane.

cxWidth

New width for the indicator pane.

Remarks

Sets the specified indicator pane to a new ID, style, and width.

The following indicator styles are supported:

  • SBPS_NOBORDERS   No 3-D border around the pane.

  • SBPS_POPOUT   Reverse border so that text “pops out.”

  • SBPS_DISABLED   Do not draw text.

  • SBPS_STRETCH   Stretch pane to fill unused space. Only one pane per status bar can have this style.

  • SBPS_NORMAL   No stretch, borders, or pop-out.

CStatusBar OverviewClass MembersHierarchy Chart

See Also   CStatusBar::GetPaneInfo