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

📄 shopinglistview.h

📁 ppWizard has created this ShopingList application for you. This application not only demonstrates t
💻 H
字号:
// ShopingListView.h : interface of the CShopingListView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_SHOPINGLISTVIEW_H__FF73580F_5D03_11D2_939B_00C0F01731C5__INCLUDED_)
#define AFX_SHOPINGLISTVIEW_H__FF73580F_5D03_11D2_939B_00C0F01731C5__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "TotalWnd.h"

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

public:
	//{{AFX_DATA(CShopingListView)
	enum { IDD = IDD_SHOPINGLIST_FORM };
	CListCtrl	m_ListBox;
	//}}AFX_DATA

// Attributes
public:
	CShopingListDoc* GetDocument();
	CTotalWnd *m_pTotalWnd;

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CShopingListView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	void CreateTotals();
	void CreateListBoxHeader();
	void UpdateListBox();
	//{{AFX_MSG(CShopingListView)
	afx_msg void OnInsert();
	afx_msg void OnStoreNames();
	afx_msg void OnItemclickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickList(TBNOTIFY* pNMHDR, LRESULT* pResult);
	afx_msg void OnDelete();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ShopingListView.cpp
inline CShopingListDoc* CShopingListView::GetDocument()
   { return (CShopingListDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SHOPINGLISTVIEW_H__FF73580F_5D03_11D2_939B_00C0F01731C5__INCLUDED_)

⌨️ 快捷键说明

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