toolsoftforprintview.h

来自「打印数据生成和模拟」· C头文件 代码 · 共 69 行

H
69
字号

#if !defined(AFX_TOOLSOFTFORPRINTVIEW_H__B0783F33_7772_47D0_9778_6BAF3A06320A__INCLUDED_)
#define AFX_TOOLSOFTFORPRINTVIEW_H__B0783F33_7772_47D0_9778_6BAF3A06320A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Cell\GridCtrl.h"
class CToolSoftForPrintView : public CView
{
protected: // create from serialization only
	CToolSoftForPrintView();
	DECLARE_DYNCREATE(CToolSoftForPrintView)

// Attributes
public:

	CBCGTabWnd	m_wndTabs;
	CGridCtrl *Tab1;
	CGridCtrl *Tab2;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CToolSoftForPrintView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
//	LRESULT OnTableChange(WPARAM wParam, LPARAM lParam);/
	afx_msg LONG OnTabActivate(WPARAM wParam , LPARAM lParam);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CToolSoftForPrintView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CToolSoftForPrintView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?