CStatusBar::GetPaneInfo

Sets nID, nStyle, and cxWidth to the ID, style, and width of the indicator pane at the location specified by nIndex.

void GetPaneInfo(
   int nIndex,
   UINT& nID,
   UINT& nStyle,
   int& cxWidth 
) const;

Parameters

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

  • nID
    Reference to a UINT that is set to the ID of the pane.

  • nStyle
    Reference to a UINT that is set to the style of the pane.

  • cxWidth
    Reference to an integer that is set to the width of the pane.

Requirements

Header: afxext.h

See Also

Reference

CStatusBar Class

Hierarchy Chart

CStatusBar::SetPaneInfo

CStatusBar::GetItemID

CStatusBar::GetItemRect

Other Resources

CStatusBar Members