Click here to Skip to main content
12,510,238 members (52,590 online)
Click here to Skip to main content

Stats

217.7K views
4.6K downloads
59 bookmarked
Posted

Multiple Selection in a File Dialog

, 23 Nov 2002 CPOL
Shows how to do multiple file selection in a file dialog without having to worry about the size of the buffers
// MultiSelect.h : main header file for the MULTISELECT application
//

#if !defined(AFX_MULTISELECT_H__639398B8_EDD4_4D04_8C2A_3680E9754ECB__INCLUDED_)
#define AFX_MULTISELECT_H__639398B8_EDD4_4D04_8C2A_3680E9754ECB__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

/////////////////////////////////////////////////////////////////////////////
// CMultiSelectApp:
// See MultiSelect.cpp for the implementation of this class
//

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

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

// Implementation

	//{{AFX_MSG(CMultiSelectApp)
		// 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_MULTISELECT_H__639398B8_EDD4_4D04_8C2A_3680E9754ECB__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)

Share

About the Author

PJ Arends
President
Canada Canada
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160929.1 | Last Updated 24 Nov 2002
Article Copyright 2002 by PJ Arends
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid