Compartilhar via


CStatusBarCtrl::GetTipText

Retrieves the tooltip text for a pane in a status bar.

CString GetTipText(
   int nPane 
) const;

Parameters

  • nPane
    The zero-based index of status bar pane to receive the tooltip text.

Return Value

A CString object containing the text to be used in the tooltip.

Remarks

This member function implements the behavior of the Win32 message SB_GETTIPTEXT, as described in the Windows SDK.

Example

CString csPane0TipText = m_wndSBC.GetTipText(0);

Requirements

Header: afxcmn.h

See Also

Reference

CStatusBar Class

Hierarchy Chart

CStatusBarCtrl::SetTipText

Other Resources

CStatusBar Members