Partager via


CMFCButton::SetTooltip

Associates a tooltip with a button.

void SetTooltip(
   LPCTSTR lpszToolTipText 
);

Parameters

  • [in] lpszToolTipText
    Pointer to the text for the tooltip. Specify NULL to disable the tooltip.

Requirements

Header: afxbutton.h

See Also

Reference

CMFCButton Class

Hierarchy Chart