Print Preview of a large sized CFormView
Posted on 2008-11-17
I have a CFormView based application. The view size is pretty big and it goes beyong 1024x768 or to very high dimensions. We dynamically place the controls in this view and it includes static text, edit boxes and lines.
My requirement is to print and print preview the contents of the CFormView. For eg. if my CFormView is of size 2048, 768, then I should get the print preview as two pages. The first should have left 1024x768 first half od trhe view and the second page with the second half.
This should be the case, it should appear in the Print Preview window and the same way get printed also as two pages.
How do I proceed with this?
I haven't used Print functionalities in MFC at all?
Looking forward your kind inputs.