Hello,
first thank you very much for your great components!
And I have some questions about the RTF functions in PrintPreview:
1) Any chance that PaintRichText will support SetBkMode TRANSPARENT?
2) I need to get the smallest Rect for some short RTF texts as they are, without additional linebreaks (for headers/footers - left, middle and right).
As far as i understand GetRichTextRect should returns bottom margin from the given Rect? Because the result from GetRichTextRect is alway the same - independent from the given Richedit content/lines.
I would also need margin right from the given Rect.
Or anyone with better ideas howto get the length(units or pixel) of RichEdit.Lines with different fonts/styles etc in one line?
Thank your for your time!