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

📄 detqueryview.h

📁 visual c++数据库开发基础与应用的源代码
💻 H
字号:
#if !defined(AFX_DETQUERYVIEW_H__C01B0CF3_79EE_47F4_BD91_7E1BF3BF9D9A__INCLUDED_)
#define AFX_DETQUERYVIEW_H__C01B0CF3_79EE_47F4_BD91_7E1BF3BF9D9A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDetQueryView form view

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

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

// Form Data
public:
	//{{AFX_DATA(CDetQueryView)
	enum { IDD = IDD_DET_QUERY_FORM };
	CListCtrl	m_listInfo;
	CComboBox	m_comboInType;
	CComboBox	m_comboExpType;
	CString	m_strExpType;
	CString	m_strInType;
	//}}AFX_DATA

// Attributes
public:
	//初始化列表框控件.
	void InitControl();
	//根据SQL语句从数据库获取收支信息并更新到控件中
	void InsertCtrlData(CString sql);
	//向列表框控件中插入数据
	void InsertCtrlItem(CString item0,CString item1,CString item2,
		CString item3,CString item4);
	//刷新组合框中的数据
	void RefreshComboData();
// Operations
public:

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

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

	// Generated message map functions
	//{{AFX_MSG(CDetQueryView)
	afx_msg void OnBtnInQuery();
	afx_msg void OnBtnExpQuery();
	afx_msg void OnBtnInAll();
	afx_msg void OnBtnExpAll();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_DETQUERYVIEW_H__C01B0CF3_79EE_47F4_BD91_7E1BF3BF9D9A__INCLUDED_)

⌨️ 快捷键说明

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