msgview.h

来自「本家庭理财系统是一个简易的家庭理财工具」· C头文件 代码 · 共 87 行

H
87
字号
//{{AFX_INCLUDES()
//}}AFX_INCLUDES
#if !defined(AFX_MSGVIEW_H__EFC6B1F9_7F32_4733_BC04_65FC3B32CF5C__INCLUDED_)
#define AFX_MSGVIEW_H__EFC6B1F9_7F32_4733_BC04_65FC3B32CF5C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MsgView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CMsgView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CMsgView : public CFormView
{
protected:
	CMsgView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CMsgView)

// Form Data
public:
	//{{AFX_DATA(CMsgView)
	enum { IDD = IDD_MSG_FORM };
	CListCtrl	m_listAssetType;
	CListCtrl	m_listOutType;
	CListCtrl	m_listInType;
	CString	m_strInType;
	CString	m_strOutType;
	CString	m_strAssetType;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:
	// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMsgView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

public:
	void InitCtrl();
	void InitCtrlData();
	void InsertTypeItem(CListCtrl* pList,CString id,CString type);
	// Generated message map functions
	//{{AFX_MSG(CMsgView)
	afx_msg void OnClickListInty(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickListOutty(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtnInadd();
	afx_msg void OnBtnInmod();
	afx_msg void OnBtnIndel();
	afx_msg void OnBtnOutadd();
	afx_msg void OnBtnOutmod();
	afx_msg void OnBtnOutdel();
	afx_msg void OnBtnAssetadd();
	afx_msg void OnBtnAssetmod();
	afx_msg void OnBtnAssetdel();
	afx_msg void OnClickListAsset(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MSGVIEW_H__EFC6B1F9_7F32_4733_BC04_65FC3B32CF5C__INCLUDED_)

⌨️ 快捷键说明

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