Click here to Skip to main content
15,892,927 members
Articles / Desktop Programming / MFC

A compact filename edit control

Rate me:
Please Sign up or sign in to vote.
4.57/5 (13 votes)
4 Feb 2003CPOL4 min read 76.6K   1.8K   22  
An edit control that encapsulates compacting of filenames
// FileEditTest.h : main header file for the FILEEDITTEST application
//

#if !defined(AFX_FILEEDITTEST_H__0AE649F1_DE7B_4520_8870_8B6C662B609C__INCLUDED_)
#define AFX_FILEEDITTEST_H__0AE649F1_DE7B_4520_8870_8B6C662B609C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#ifndef __AFXWIN_H__
	#error include 'stdafx.h' before including this file for PCH
#endif

#include "resource.h"		// main symbols

/////////////////////////////////////////////////////////////////////////////
// CFileEditTestApp:
// See FileEditTest.cpp for the implementation of this class
//

class CFileEditTestApp : public CWinApp
{
public:
	CFileEditTestApp();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CFileEditTestApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

// Implementation

	//{{AFX_MSG(CFileEditTestApp)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////

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

#endif // !defined(AFX_FILEEDITTEST_H__0AE649F1_DE7B_4520_8870_8B6C662B609C__INCLUDED_)

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)


Written By
Software Developer
United Kingdom United Kingdom
I started computer programming on the Spectrum (writing nothing more complicated than "Hello World" and a few programs that tunelessly Beeped ad infinitum) but then progressed to slightly more serious programming on the Amiga.

After A-Levels in Maths, Physics and Chemistry, I went to the University of East Anglia, Norwich, and studied beer, women and Computing Science.
Some years after graduating, I still have an appreciation of Computing Science, but as I am now married, my other studies are frowned upon.

Since graduating, I have worked on many diverse projects in areas including call centres, logistics, architecture and engineering, and heritage.

Comments and Discussions