2.2.6.13.13 Edit::SetCueBanner


Description

Sets the text that is displayed as the text cue, or tip, in an edit control when the control is empty.

Syntax

BOOL SetCueBanner( LPCTSTR lpcszText, BOOL fDrawIfFocused = FALSE )

Parameters

lpcszText
[input] Pointer to a string that contains the cue to display in the edit control.
fDrawIfFocused
[input] if false, the cue banner is not drawn when the user clicks in the edit control and gives the control the focus.
if true, the cue banner is drawn even when the control has focus. The cue banner disappears when the user starts to type in the control.

Return

true if the method is successful; otherwise false.

Examples

Remark

See Also

Header to Included

Control.h