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. Print Preview in FormView

Print Preview in FormView

Scheduled Pinned Locked Moved C / C++ / MFC
tutorial
4 Posts 3 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.
  • S Offline
    S Offline
    Shivarudrayya H
    wrote on last edited by
    #1

    Hello Friends, I developed a SDI application,in that i splitted the window. ie:one view & 3 forms. In one of the my form created a button as Preview. Im calling printpreview from main window.using CView::OnFile...... But it hangs, can anybody tell mr how to do it. thanks in advance.

    Reagards Shiva

    W H 2 Replies Last reply
    0
    • S Shivarudrayya H

      Hello Friends, I developed a SDI application,in that i splitted the window. ie:one view & 3 forms. In one of the my form created a button as Preview. Im calling printpreview from main window.using CView::OnFile...... But it hangs, can anybody tell mr how to do it. thanks in advance.

      Reagards Shiva

      W Offline
      W Offline
      wira1guys
      wrote on last edited by
      #2

      When you create SDI/MDI with FormView using wizard, it will tell FormView can use printing support (Maybe that's the problem). If I am not wrong, there is tutorial how to use print (form view) in code project. Good Luck

      S 1 Reply Last reply
      0
      • W wira1guys

        When you create SDI/MDI with FormView using wizard, it will tell FormView can use printing support (Maybe that's the problem). If I am not wrong, there is tutorial how to use print (form view) in code project. Good Luck

        S Offline
        S Offline
        Shivarudrayya H
        wrote on last edited by
        #3

        I created the SDI with the simple View as base class. I added the forms to it. But I want to call the OnFilePrintpreview from one of the forms. One more thing : I want to preview the content of only simple view not form..

        Reagards Shiva

        1 Reply Last reply
        0
        • S Shivarudrayya H

          Hello Friends, I developed a SDI application,in that i splitted the window. ie:one view & 3 forms. In one of the my form created a button as Preview. Im calling printpreview from main window.using CView::OnFile...... But it hangs, can anybody tell mr how to do it. thanks in advance.

          Reagards Shiva

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          See this[^] does any help?

          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