在MFC(Spread7)中使用CFormView(具有基类)实现打印/打印预览
我正在使用FarPointSpread7在MFC应用程序中实现Print/PrintPreview,基本上它是第三方工具,在我的应用程序中,我需要使用CFormView作为基类,如何在使用MFC的Doc-View体系结构中实现相同的功能.
在我的方法中,我使用了基于Dialog的应用程序,但是我需要启动Spread7(它是第三方控件)并且需要实现CFormView,因此,我派生了一个新类CMyFormView:public CFormView,并在OnDraw()中创建了对象.要获得使用Doc-View体系结构,将CFormView作为基类(视图类)而不是从CDialog继承的Print/PrintPreview的实现.
解决上述问题的任何帮助将非常可观.
问候,
VK_91
Hi,
I am implementing Print/PrintPreview in MFC Application, using FarPointSpread7, basically it is third party tool, In my application, I need to use CFormView as base class, How to implement the same in Doc-View Architecture using MFC.
In My approach, I had used Dialog based application, but I need to launch Spread7 which is third party control and need to implement CFormView, hence, I derived a new class CMyFormView:public CFormView and created object in my OnDraw(), I need to obtain the implementation of Print/PrintPreview using Doc-View Architecture, CFormView as base class(View Class) instead of inheriting from CDialog.
Any help in resolving the above would be much appreciable.
With Regards,
VK_91