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

📄 propadd2.h

📁 用Visual C++ 开发的项目管理系统
💻 H
字号:
#if !defined(AFX_PROPADD2_H__6B942DBE_84D2_42CE_A4FE_1D2EE6FBCEB2__INCLUDED_)
#define AFX_PROPADD2_H__6B942DBE_84D2_42CE_A4FE_1D2EE6FBCEB2__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PropAdd2.h : header file
//
#include "IDEdit.h"
/////////////////////////////////////////////////////////////////////////////
// CPropAdd2 dialog
typedef struct  
{
	CString eFileID;//电子文件编号
	CString eFileName;//电子文件名
	CString eFileLoc;//文件的位置
	CString eFileType;//文件的类型
	CString eFileOwner;//文件建立者
	int     eFileLevel;//文件的目录级数

}EFILEHEADER; 
class CPropAdd2 : public CPropertyPage
{
	DECLARE_DYNCREATE(CPropAdd2)

// Construction
public:
	void CreateDirList(CWnd *pWnd, CListCtrl &m_ListDir);
	void CreateIDList(CWnd *pWnd, CListBox &IDList);
	CPtrArray m_eFileArray;
	_RecordsetPtr m_RecordProName;   //研发人员记录集
	_RecordsetPtr m_RecordInfo;      //已存在文件ID记录
	CListBox     m_IDList;             //动态生成已存在的文件ID列表
	CListCtrl    m_DirList;
	BOOL         m_Loctrue;           //目录是否正确
	BOOL         m_IDtrue;            //ID是否正确
	CImageList    m_ImageList;       //目录下的图标列表     
	CString      m_eFileID;         //电子文件编号
	CPropAdd2();
	~CPropAdd2();

// Dialog Data
	//{{AFX_DATA(CPropAdd2)
	enum { IDD = IDD_PROPADD2 };
	CIDEdit	m_IDEditControl;
	CButtonST	m_BtnOpenControl;
	CButtonST	m_BtnModifyControl;
	CButtonST	m_BtnDeleteControl;
	CButtonST	m_BtnBrowseControl;
	CButtonST	m_BtnAddControl;
	CListCtrl	m_EFileInfoControl;
	int		m_eFileLevel;
	CString	m_eFileLoc;
	CString	m_eFileName;
	CString	m_eFileType;
	CString	m_eFileOwner;
	CString	m_cEFilePath;            //电子文件的详细路径和文件名
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CPropAdd2)
	public:
	virtual BOOL OnSetActive();
	virtual LRESULT OnWizardNext();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPropAdd2)
	afx_msg void OnBtnAdd();
	afx_msg void OnBtnBrowseloc();
	afx_msg void OnBtnModify();
	afx_msg void OnBtnDelete();
	afx_msg void OnDblclkListEfileinfo(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnChangeEditEfileid();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnKillfocusEditEfileloc();
	afx_msg void OnChangeEditEfileloc();
	afx_msg void OnKillfocusEditEfileid();
	afx_msg void OnBtnOpenefile();
	afx_msg void OnClickListDir(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnSetfocusEditEfilename();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

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

#endif // !defined(AFX_PROPADD2_H__6B942DBE_84D2_42CE_A4FE_1D2EE6FBCEB2__INCLUDED_)

⌨️ 快捷键说明

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