Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

CEnum - File Enumeration and File Globbing Class

, 6 Dec 2008 CPOL
CEnum is used for enumeration of files and directories using wildcard matching (globbing)
// CEnumeratorDlg.h : header file
//

#pragma once
#include "afxcmn.h"


// CCEnumeratorDlg dialog
class CCEnumeratorDlg : public CDialog
{
// Construction
public:
	CCEnumeratorDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_CENUMERATOR_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	CListCtrl m_ctlListCtrl;
	CString m_sPath;
	CString m_sExcPatternDirs;
	CString m_sExcPatternFiles;
	CString m_sIncPatternDirs;
	CString m_sIncPatternFiles;
    void OnOK();
public:
	afx_msg void OnEnumerate();
	afx_msg void OnTestCompare();
	afx_msg void OnNMDblclkList1(NMHDR *pNMHDR, LRESULT *pResult);
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Loreia

Croatia Croatia
Nothing to brag about.
Just another engineer who works as a software developer last couple of years.

| Advertise | Privacy | Terms of Use | Mobile
Web03 | 2.8.141223.1 | Last Updated 6 Dec 2008
Article Copyright 2008 by Loreia
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid