i***@gmail.com
2013-07-29 10:30:24 UTC
Good afternoon all,
This might be a silly question, and I hope it is - then someone call tell
me off and give a quick pointer for the answer.
I am using scintilla windows in a few places in my application, and want to
be able to put in a hint text for what they are used for when they are
empty. Essentially, I want the same functionality as MS edit windows have
with EM_SETCUEBANNER:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb761639(v=vs.85).aspx
I could probably subclass the window, and hook the WM_PAINT mechanism for
the window, and put up my own text, but this is fiddly, and possibly
fragile. If the ability exists within scintilla, that'd be great!
Thanks,
Iain,
This might be a silly question, and I hope it is - then someone call tell
me off and give a quick pointer for the answer.
I am using scintilla windows in a few places in my application, and want to
be able to put in a hint text for what they are used for when they are
empty. Essentially, I want the same functionality as MS edit windows have
with EM_SETCUEBANNER:
http://msdn.microsoft.com/en-us/library/windows/desktop/bb761639(v=vs.85).aspx
I could probably subclass the window, and hook the WM_PAINT mechanism for
the window, and put up my own text, but this is fiddly, and possibly
fragile. If the ability exists within scintilla, that'd be great!
Thanks,
Iain,
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/groups/opt_out.