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


CStatusBarCtrl::SetTipText

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

void SetTipText(
   int nPane,
   LPCTSTR pszTipText 
);

Параметры

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

  • pszTipText
    A pointer to a string containing the tooltip text.

Заметки

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

Пример

m_wndSBC.SetTipText(0, _T("This is Pane 0"));

Требования

Header: afxcmn.h

См. также

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

CStatusBar Class

CStatusBar Members

Hierarchy Chart

CStatusBarCtrl::GetTipText