CStatusBar::GetPaneText

Call this member function to retrieve the text that appears in a status-bar pane.

CString GetPaneText(
   int nIndex 
) const;
void GetPaneText(
   int nIndex,
   CString& rString 
) const;

Parameters

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

  • rString
    A reference to a CString object that contains the text to be retrieved.

Return Value

A CString object containing the pane's text.

Remarks

The second form of this member function fills a CString object with the string text.

Requirements

Header: afxext.h

See Also

Reference

CStatusBar Class

Hierarchy Chart

CStatusBar::SetPaneText

Other Resources

CStatusBar Members