2

I have created an edit control with multi-line style. I used SetCueBanner for displaying some text as tip. It displays the text only when I remove the ES_MULTILINE style, but with this style the text is not displayed.

Why is this happening and how to display the Cue Banner text with multi-line style?

jww
  • 97,681
  • 90
  • 411
  • 885
HariDev
  • 508
  • 10
  • 28

1 Answers1

3

There is no "standard" way to show a cue banner for ES_MULTILINE.

The docs clearly state that this isn't possible for multiline or RTF controls:

http://msdn.microsoft.com/en-us/library/windows/desktop/bb761639(v=vs.85).aspx

If you want to do such a thing, you need to subclass the control and do your own painting if the Control contains no text and has the focus.

xMRi
  • 14,982
  • 3
  • 26
  • 59