共用方式為


CMFCStatusBar::SetTipText

Set the tooltip text of a status bar pane.

void SetTipText(
   int nIndex,
   LPCTSTR pszTipText 
);

Parameters

  • [in] nIndex
    The index of the pane to which you want to assign the tooltip text.

  • [in] pszTipText
    The new tooltip text.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart