Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CEditView and page breaks

CEditView and page breaks

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kjessee
    wrote on last edited by
    #1

    How do I get page breaks to print correctly in CEditView? I checked to Wordpad example but can't find the code that does the work. Thanks Kevin

    M 1 Reply Last reply
    0
    • K kjessee

      How do I get page breaks to print correctly in CEditView? I checked to Wordpad example but can't find the code that does the work. Thanks Kevin

      M Offline
      M Offline
      Monty2
      wrote on last edited by
      #2

      While Printing by MFC you have to do the Pagination by urself i.e. Override OnPrepareDC or OnBeginPrinting and set the no of pages stuff Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi

      K 1 Reply Last reply
      0
      • M Monty2

        While Printing by MFC you have to do the Pagination by urself i.e. Override OnPrepareDC or OnBeginPrinting and set the no of pages stuff Live as if your were to die tomorrow. Learn as if you were to live forever. -Mahatma Gandhi

        K Offline
        K Offline
        kjessee
        wrote on last edited by
        #3

        I got that far. I was trying to see how it was done in the Wordpad example. At this point I believe it has to do with using the RichEditCtrl as opposed to CEditView.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups