共用方式為


CStatusBar::GetPaneStyle

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

UINT GetPaneStyle(
   int nIndex 
) const;

Parameters

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

Return Value

The style of the status-bar pane specified by nIndex.

Remarks

A pane's style determines how the pane appears.

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

Requirements

Header: afxext.h

See Also

Reference

CStatusBar Class

Hierarchy Chart

CStatusBar::Create

CStatusBar::SetPaneStyle

Other Resources

CStatusBar Members