www.pudn.com > FileFinder_Ce_demo.zip > TryfindDlg.h


// TryfindDlg.h : header file 
// 
 
#if !defined(AFX_TRYFINDDLG_H__BF9A86A8_D7A2_11D3_8F96_008048DBAA6B__INCLUDED_) 
#define AFX_TRYFINDDLG_H__BF9A86A8_D7A2_11D3_8F96_008048DBAA6B__INCLUDED_ 
 
#if _MSC_VER >= 1000 
#pragma once 
#endif // _MSC_VER >= 1000 
 
 
#include "CeFileFind.h" 
///////////////////////////////////////////////////////////////////////////// 
// CTryfindDlg dialog 
 
class CTryfindDlg : public CDialog 
{ 
// Construction 
public: 
	LPTSTR FormatTime(FILETIME *pft ); 
	BOOL AddItemToList( int nItem  ); 
	void AddDirtoCombo( CString csDir = "" ); 
	void DisplayDirContents( CString csDirPath = "" ); 
	CTryfindDlg(CWnd* pParent = NULL);	// standard constructor 
	CCeFileFind		m_finder; 
 
	CImageList	m_ImgLst; 
 
// Dialog Data 
	//{{AFX_DATA(CTryfindDlg) 
	enum { IDD = IDD_TRYFIND_DIALOG }; 
	CComboBox	m_ctrlCombo; 
	CListCtrl	m_ctrlList; 
	//}}AFX_DATA 
 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CTryfindDlg) 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
	HICON m_hIcon; 
 
	// Generated message map functions 
	//{{AFX_MSG(CTryfindDlg) 
	virtual BOOL OnInitDialog(); 
	afx_msg void OnSelchangeCombo(); 
	afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult); 
	afx_msg void OnButtonUp(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_TRYFINDDLG_H__BF9A86A8_D7A2_11D3_8F96_008048DBAA6B__INCLUDED_)