CRichEditView and print
Jose Luis Balsera -- jose@intec.es Tuesday, October 29, 1996 Environment:VC++ 4.1/Windows 95 We are trying to print the contents of a CRichEditView, but the results are not quite accurate. Margins are not the same as the margins we set in the page setup dialog and the paper size seems to be smaller than A4 (the size we set in a call to SetPaperSize()). Have you any ideas to make a CRichEditView print correctly ?
Gautam Kasturi -- gautamk@corus.com Thursday, October 31, 1996 I think there is a small error in the richedit printing about the top left point from which it should start printing. The work around that we have used is to make a call to SetMargins() in the ctor of the CRichEditView derived class, giving a rect with coords as: CRect(360,360,360,360) (Dont ask me how i arrived at 360) It worked for us, hope it works for u. gk Gautam Kasturi ConnectSoft Ruksun Software India. On Tue, 29 Oct 1996, Jose Luis Balsera wrote: > Environment:VC++ 4.1/Windows 95 > > We are trying to print the contents of a CRichEditView, but the results are > not quite accurate. Margins are not the same as the margins we set in the > page setup dialog and the paper size seems to be smaller than A4 (the size > we set in a call to SetPaperSize()). Have you any ideas to make a > CRichEditView print correctly ? >
| Вернуться в корень Архива |