共用方式為


CMFCCaptionBar::SetImageToolTip

Sets the tooltip for the image in the caption bar.

void SetImageToolTip(
   LPCTSTR lpszToolTip,
   LPCTSTR lpszDescription=NULL 
);

Parameters

  • [in] lpszToolTip
    The text of the tooltip.

  • [in] lpszDescription
    The tooltip description.

Requirements

Header: afxcaptionbar.h

See Also

Reference

CMFCCaptionBar Class

Hierarchy Chart