⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tallyview.h

📁 一个简单的记账软件
💻 H
字号:
// TallyView.h : interface of the CTallyView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TALLYVIEW_H__4DA18046_8344_4F1E_BE62_B251D594F06F__INCLUDED_)
#define AFX_TALLYVIEW_H__4DA18046_8344_4F1E_BE62_B251D594F06F__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "GraphDia.h"
#include "TallyDoc.h"

class CTallyView : public CFormView
{
protected: // create from serialization only
	CTallyView();
	DECLARE_DYNCREATE(CTallyView)

public:
	//{{AFX_DATA(CTallyView)
	enum { IDD = IDD_TALLY_FORM };
	CEdit	m_EditCtrl;
	CListCtrl	m_ItemListCtrl;
	CTreeCtrl	m_MonthTreeCtrl;
	CString	m_OutEditBox;
	//}}AFX_DATA
	
// Attributes
public:
	CTallyDoc * GetDocument();
	void Update ();

// Operations
public:
	int m_iMonth ;
	TV_INSERTSTRUCT tvMONTH;  //设置根节点
	HTREEITEM hMONTH1,hMONTH2,hMONTH3,hMONTH4,hMONTH5,hMONTH6,hMONTH7,hMONTH8,hMONTH9,hMONTH10,hMONTH11,hMONTH12;

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CTallyView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CTallyView)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnShowInputDateDia();
	afx_msg void OnShowCountDia();
	afx_msg void OnSelchangedMonthTree(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickItemList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDeletButton();
	afx_msg void OnQq();
	afx_msg void OnEmail();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in TallyView.cpp
inline CTallyDoc* CTallyView::GetDocument()
   { return (CTallyDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TALLYVIEW_H__4DA18046_8344_4F1E_BE62_B251D594F06F__INCLUDED_)

⌨️ 快捷键说明

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