CEdit::ShowBalloonTip
Displays a balloon tip that is associated with the current edit control.
BOOL ShowBalloonTip(
PEDITBALLOONTIP pEditBalloonTip
);
BOOL ShowBalloonTip(
LPCWSTR lpszTitle,
LPCWSTR lpszText,
INT ttiIcon = TTI_NONE
);
Параметры
Parameter |
Description |
---|---|
[in] pEditBalloonTip |
Pointer to an EDITBALLOONTIP structure that describes the balloon tip. |
[in] lpszTitle |
Pointer to a Unicode string that contains the title of the balloon tip. |
[in] lpszText |
Pointer to a Unicode string that contains the balloon tip text. |
[in] ttiIcon |
An INT that specifies the type of icon to associate with the balloon tip. The default value is TTI_NONE. For more information, see the ttiIcon member of the EDITBALLOONTIP structure. |
Возвращаемое значение
true if this method is successful; otherwise, false.
Заметки
This function sends the EM_SHOWBALLOONTIP message, which is described in the Windows SDK. For more information, see the Edit_ShowBalloonTip macro.
Требования
Header: afxwin.h
This control is supported in Windows XP and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.