Поделиться через


CStatusBarCtrl::GetTipText

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

CString GetTipText(
   int nPane 
) const;

Параметры

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

Возвращаемое значение

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

Заметки

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

Пример

CString csPane0TipText = m_wndSBC.GetTipText(0);

Требования

Header: afxcmn.h

См. также

Основные понятия

CStatusBar Class

CStatusBar Members

Hierarchy Chart

CStatusBarCtrl::SetTipText