共用方式為


CMFCStatusBar::GetTipText

Retrieve the tooltip text of a status bar's pane.

CString GetTipText(
   int nIndex 
) const;

Parameters

  • [in] nIndex
    Specifies the index of the pane for which to retrieve tool tip text.

Return Value

The tooltip text of the status-bar pane that nIndex specifies. Otherwise, the empty string if a status bar pane does not exist for the specified nIndex or if its tooltip text is empty.

Requirements

Header: afxstatusbar.h

See Also

Reference

CMFCStatusBar Class

Hierarchy Chart