共用方式為


CStatusBar::SetPaneStyle

Call this member function to set the style of a status bar's pane.

void SetPaneStyle(
   int nIndex,
   UINT nStyle 
);

Parameters

  • nIndex
    Index of the pane whose style is to be set.

  • nStyle
    Style of the pane whose style is to be set.

Remarks

A pane's style determines how the pane appears.

For a list of styles available for status bars, see SetPaneInfo.

Requirements

Header: afxext.h

See Also

Concepts

CStatusBar Class

CStatusBar Members

Hierarchy Chart

CStatusBar::Create

CStatusBar::GetPaneStyle