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

📄 queryview.h

📁 用VC做的订单管理系统,可以实现网络订单的各种功能
💻 H
字号:
#if !defined(AFX_QUERYVIEW_H__62C2236E_60CF_452E_A426_330F990E4E7A__INCLUDED_)
#define AFX_QUERYVIEW_H__62C2236E_60CF_452E_A426_330F990E4E7A__INCLUDED_

#include "Ado.h"	// Added by ClassView
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QueryView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// QueryView view
typedef struct LIST_STRUCT
{
	CListCtrl* pListCtrl;
	int	nColumnIndex;
}list_struct;

class QueryView : public CListView
{
protected:
	QueryView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(QueryView)

// Attributes
public:

// Operations
public:
	void Query();
	static int CALLBACK CompareFunc(LPARAM lParam1, LPARAM lParam2,LPARAM lParamSort);
	CString m_strEndTime;
	CString m_strBeginTime;

	int m_nItem;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(QueryView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	afx_msg void OnContextMenu(CWnd*, CPoint point);
	//{{AFX_MSG(QueryView)
	afx_msg void OnUpdateIndentQueryRecord(CCmdUI* pCmdUI);
	afx_msg void OnBtnFind();
	afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnUpdateIndentOpenRecord(CCmdUI* pCmdUI);
	afx_msg void OnEditDelete();
	afx_msg void OnUpdateEditDelete(CCmdUI* pCmdUI);
	afx_msg void OnRefurbish();
	afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnIndentOpenRecord();
	afx_msg void OnColumnclick(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG


	DECLARE_MESSAGE_MAP()
private:
	
	CAdo m_ado;
	CString m_strFind;
	CListCtrl* m_pListCtrl;

};

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

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

#endif // !defined(AFX_QUERYVIEW_H__62C2236E_60CF_452E_A426_330F990E4E7A__INCLUDED_)

⌨️ 快捷键说明

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