CHtmlView Navigate2 and ExecWB Execution(CHtmlView Navigate2 和 ExecWB 执行)
问题描述
这是链接到我之前的问题.
This is Linking to my previous question.
我已经设法为我的应用程序生成的报告的新型视图创建了一个从 CHtmlView
派生的新视图,但我在新视图中发现了一些问题
I have managed to make a new view derived from the CHtmlView
for the new type of View for the my application generated reports but I find some problem in the new View
class CMyHtmlView : public CHtmlView
{
protected: // create from serialization only
CMyHtmlView();
DECLARE_DYNCREATE(CMyHtmlView)
// Attributes
public:
CReportDoc* GetDocument();
CString m_sFileName;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMyHtmlView)
public:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void OnInitialUpdate(); // called first time after construct
virtual void OnFilePrintPreview();
virtual void OnFilePrint();
/