Click to See Complete Forum and Search --> : CEditView question


Thomas
March 31st, 1999, 04:34 AM
Hi there,


my SDI-app has an CEDitView derived View class.

I get my data from external.


Is there a possibilty to do a kind of page break, e.g. is there a sign like \n

to send to the edit control so that the printing begins on a new page.


The reason for this is, that I have to send different page headers to my edit-control.


So what i want to do is just sending all the data to my edit-control and within the data there should be a sign which causes the printer to take a new page


Does anybody has an idea?


thanks in advance


thomas

Hochgebe
June 11th, 1999, 04:26 PM
Try inserting a (char)12 typed exactly like that into the edit view.. I'm not sure how that will work, but it is the ascii code for form feed and it works great in dos.

///////////////////////////////////////////////////////
Good things come to those who wait...
But they come used by the impatient....
///////////////////////////////////////////////////////