tryfinddlg.h
来自「CCeFileFind类在Windows CE系统上实现本地文件搜索」· C头文件 代码 · 共 60 行
H
60 行
// 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_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?