CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    23

    CEditView question



    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

  2. #2
    Join Date
    Jun 1999
    Location
    Indiana, USA
    Posts
    94

    Re: CEditView question

    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....
    ///////////////////////////////////////////////////////

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured