Hi,
I would like to draw a smiley within a text block like this
"Hello, how are you :).
See you soon."
What is the best way to do this? I need DrawText flags to WORDBREAK etc.
Thanks in advance.
Printable View
Hi,
I would like to draw a smiley within a text block like this
"Hello, how are you :).
See you soon."
What is the best way to do this? I need DrawText flags to WORDBREAK etc.
Thanks in advance.
Create a custom control derived from CWnd, implement the OnPaint() message handler and draw in this control what you want: texts, pictures and so on...
Yes, but then I'll have to do all logic by myself (WORDBREAK flags, parsing \r\n etc). I was looking for an easier way. :p
Well, someone must do such a work in any case!
If you don't want to do it youself - try to find something similar in the article sections of CG or/and www.codeproject.com
Thanks Victor, I've already been looking there so I guess I have to start digging :sick:, a bit annoying for such a simple task.