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

📄 sublistview.h

📁 Visual+C+++课程设计案例精编(附书代码),有通讯录,聊天程序等源吗,对初学者很有帮助.
💻 H
字号:
#if !defined(AFX_SUBLISTVIEW_H__402CF322_8F67_426E_8484_11935329EC81__INCLUDED_)
#define AFX_SUBLISTVIEW_H__402CF322_8F67_426E_8484_11935329EC81__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CSubListView view

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

// Attributes
public:
private:
	void SelLaw();
	void SelFee();
	void SelDriverAward();
	void SelDriverLaw();
	void SelCarFee();
	void ListFee();
	void ListPunish();
	void ListDriverAward();
	void ListDriverPunish();
	void ListCarFee();
	void SelCarDriver();
	void ListCarDriver();
	void SelDriver();
	void ListDriver();
	void SelCar();
	void ListCar();
	void GetTitle();
	CArray<CString,CString&> arTitle;

// Operations
public:
	void RefreshData();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSubListView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	void SetTitle();
	void SetStyle();
	//{{AFX_MSG(CSubListView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnMenuitemCarmodify();
	afx_msg void OnMenuitemCardel();
	afx_msg void OnMenuitemCaradd();
	afx_msg void OnMenuitemDriveradd();
	afx_msg void OnMenuitemDrivermodify();
	afx_msg void OnMenuitemDriverdel();
	afx_msg void OnMenuitemCdadd();
	afx_msg void OnMenuitemCdmodify();
	afx_msg void OnMenuitemCddel();
	afx_msg void OnMenuitemCarfeeadd();
	afx_msg void OnMenuitemCarfeemodify();
	afx_msg void OnMenuitemCarfeedl();
	afx_msg void OnMenuitemDriverlawadd();
	afx_msg void OnMenuitemDriverlawmodify();
	afx_msg void OnMenuitemDriverlawdel();
	afx_msg void OnMenuitemDriverawardadd();
	afx_msg void OnMenuitemDriverawardmodify();
	afx_msg void OnMenuitemDriverawarddel();
	afx_msg void OnMenuitemFeeadd();
	afx_msg void OnMenuitemFeemodify();
	afx_msg void OnMenuitemFeedel();
	afx_msg void OnMenuitemLawadd();
	afx_msg void OnMenuitemLawmodify();
	afx_msg void OnMenuitemLawdel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

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

#endif // !defined(AFX_SUBLISTVIEW_H__402CF322_8F67_426E_8484_11935329EC81__INCLUDED_)

⌨️ 快捷键说明

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