09-08-2008, 06:31 AM
To print a rich edit control is used EM_FORMATRANGE message and several printing functions. But it is quite difficult. Especially if with margins, title, page number etc. For example I don't know how to calculate correct margin width.