Compartir a través de


CStatusBarCtrl::SetTipText

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

void SetTipText(
   int nPane,
   LPCTSTR pszTipText 
);

Parameters

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

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

Remarks

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

Example

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

Requirements

Header: afxcmn.h

See Also

Concepts

CStatusBar Class

CStatusBar Members

Hierarchy Chart

CStatusBarCtrl::GetTipText