Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Widgets - General questions or Mixed problems » Printing using RichEditWithToolBar and PrinterJob on the same sheep of paper?
Re: Printing using RichEditWithToolBar and PrinterJob on the same sheet of paper? [message #14182 is a reply to message #14172] Mon, 18 February 2008 13:01 Go to previous messageGo to previous message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
Hi again…

As nobody till now contribute with a solution or a advice (I am a beginner…) I think (with my little knowledge) that Print method of the RichEdit must be virtual, what do all of you think? And it must receive the printer job handler, right? Thus, if if someone wants to print something external to the RichEdit control he or she could rewrite the print method and print what he wants in conjunction with the contents of the RichEditControl. I have tried this but code is very complex and confusing I think…

RichEditWithToolbar calls Print of RichEdit then it call print of no class in RichEditView… It is difficult for me to make this virtual and supply the printer context already initialized. Anyone with a better solution?

My test case is this: I have a dialog with some 2 sets of edit boxes and a RichEditWithToolbar. The user write a letter in the RichEditWithToolbar and the first set of edit boxes are the source address and the second set of edit box is used to fill the target address. Both addresses and letter must be printed in the same paper sheet at specific location in order to position the target address in a transparent plastic window of the envelop.

Any solutions or advices would be appreciated,

Alex

 
Read Message
Read Message
Read Message
Previous Topic: MinSize and ParentCtrl
Next Topic: Problem with DropList and FlatSpin
Goto Forum:
  


Current Time: Sat Jun 07 01:13:09 CEST 2025

Total time taken to generate the page: 0.03969 seconds