fvsupplieracc.h

来自「我自己整理的一些VC源代码」· C头文件 代码 · 共 107 行

H
107
字号
#if !defined(AFX_FVSUPPLIERACC_H__95DE6A55_2840_429D_9395_A773B6923B3F__INCLUDED_)
#define AFX_FVSUPPLIERACC_H__95DE6A55_2840_429D_9395_A773B6923B3F__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CFVSupplierAcc form view

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

#include "GfxListCtrl.h"
#include "FlatButton.h"

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

	CImageList lima, limah;
	CFont ftTimes;

	int iSelBmp;

// Form Data
public:
	//{{AFX_DATA(CFVSupplierAcc)
	enum { IDD = IDD_FVSUPPLIERACC };
	CFlatButton	m_bt_printpreview;
	CFlatButton	m_bt_printrp;
	CDateTimeCtrl	m_dt_timeend;
	CEdit	m_ed_supno;
	CDateTimeCtrl	m_dt_time;
	CComboBox	m_cb_selltype;
	CComboBox	m_cb_querytype;
	CFlatButton	m_bt_save;
	CFlatButton	m_bt_modify;
	CFlatButton	m_bt_delete;
	CFlatButton	m_bt_close;
	CFlatButton	m_bt_add;
	CGfxListCtrl	m_list_child;
	//}}AFX_DATA

// Attributes
public:
	CImageList m_listImage;

// Operations
public:
	void ListSubItemCallBack( CString strName, CListCtrl *pList, int nSubItem );
	void ComboBoxCallBack( CString strName, CComboBox *pComboBox );
	void SetListItemCallBack( CString strName, CListCtrl *pList, int nItem );
	void CategoryCallBack(CGfxCategoryManager * pCatMan, long & lData);
	void GetTextCallback(int iIndex, int iSubItem, long lCode, CString &cs);
	long GetExInfoCallback(LXHDREX * pLx);
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFVSupplierAcc)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
protected:
	void InitColumnList( CListCtrl *pList, int iSubItem );
	virtual ~CFVSupplierAcc();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CFVSupplierAcc)
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnClickListChild(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnBtAdd();
	afx_msg void OnBtSave();
	afx_msg void OnBtDelete();
	afx_msg void OnBtClose();
	afx_msg void OnDestroy();
	afx_msg void OnSelchangeCbQuerytype();
	afx_msg void OnBtQuery();
	afx_msg void OnBtPrintPreview();
	afx_msg void OnBtPrintrp();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_FVSUPPLIERACC_H__95DE6A55_2840_429D_9395_A773B6923B3F__INCLUDED_)

⌨️ 快捷键说明

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