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

📄 propadd1page.h

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

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

/////////////////////////////////////////////////////////////////////////////
// CPropAdd1Page dialog

class CPropAdd1Page : public CPropertyPage
{
	DECLARE_DYNCREATE(CPropAdd1Page)

// Construction
public:
	BOOL SetTipText(   UINT   id,   NMHDR   *   pTTTStruct,   LRESULT   *   pResult   );
	void CreateProList(CWnd *pWnd, CListBox &IDList);
	void CreateDirList(CWnd * pWnd,CListCtrl & m_ListDir);  //创建目录列表控件
	void SetStaticIconText(CWnd *Control,CString str,HICON  &Icon, CStatic &StaticIcon,CStatic &StaticText);  //此函数在Control后面动态创建图标和文本
	CFont m_font;
	CPropAdd1Page();
	~CPropAdd1Page();
	_RecordsetPtr  m_RecordInfo;
	bool m_IDtrue;      //项目ID是否正确
	bool m_Nametrue;     //项目名字是否正确
	bool m_Loctrue;     //判断目录是否存在
	CListBox   m_ListControl;     //动态显示已经存在工程ID或者名称
	CListCtrl  m_ListDir;         //动态显示目录下文件
	CImageList m_ImageList;       //目录下的图标列表
	CStatic   m_IDText;           //动态显示ID是否已经存在文本
	CStatic   m_IDIcon;
	CStatic   m_NameIcon;
	CStatic   m_NameText;         //动态显示项目名称是否存在的文本
	CToolTipCtrl   m_LocTipCtrl;   //当鼠标在目录编辑框上时出现Tip

// Dialog Data
	//{{AFX_DATA(CPropAdd1Page)
	enum { IDD = IDD_PROP_ADD1 };
	CButtonST	m_BtnBrowseControl;
//	CStatic	m_NameControl;
//	CStatic	m_IDStatic;
	CString	m_ProID;
	CString	m_ProName;
	CString	m_ProLoc;
	CString	m_ProRemark;
	//}}AFX_DATA


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

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CPropAdd1Page)
	afx_msg void OnKillfocusEditProid();
	afx_msg void OnKillfocusEditProname();
	afx_msg void OnBtnBrofolder();
	afx_msg void OnKillfocusEditProloc();
	afx_msg void OnChangeEditProid();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnChangeEditProloc();
	afx_msg void OnChangeEditProname();
	
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
};

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

#endif // !defined(AFX_PROPADD1PAGE_H__535346FC_41C3_46DB_A91F_7326D2943832__INCLUDED_)

⌨️ 快捷键说明

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