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.
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
Last edited by VictorN; July 22nd, 2011 at 10:01 AM.
Thanks Victor, I've already been looking there so I guess I have to start digging , a bit annoying for such a simple task.
So typesetting is a simple task now?
Vlad - MS MVP [2007 - 2012] - www.FeinSoftware.com
Convenience and productivity tools for Microsoft Visual Studio: FeinViewer - an integrated GDI objects viewer for Visual C++ Debugger, and more...
Bookmarks