Click here to Skip to main content
15,887,676 members
Articles / Desktop Programming / MFC

SelectDialog - A Multiple File and Folder Select Dialog

Rate me:
Please Sign up or sign in to vote.
3.38/5 (35 votes)
26 Dec 2008CPOL2 min read 139K   7.7K   35  
A multi select files and folders browse window
// SelectDialogTest.cpp : Defines the class behaviors for the application.
//

#include "stdafx.h"
#include "SelectDialogTest.h"
#include "SelectDialogTestDlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif

// CSelectDialogTestApp
BEGIN_MESSAGE_MAP(CSelectDialogTestApp, CWinApp)
END_MESSAGE_MAP()

// The one and only CSelectDialogTestApp object
CSelectDialogTestApp theApp;

// CSelectDialogTestApp initialization
BOOL CSelectDialogTestApp::InitInstance()
{
	INITCOMMONCONTROLSEX InitCtrls;
	InitCtrls.dwSize = sizeof(InitCtrls);
	InitCtrls.dwICC = ICC_WIN95_CLASSES;
	InitCommonControlsEx(&InitCtrls);

	CWinApp::InitInstance();

	SetRegistryKey(_T("TarhAfarinan"));

	CSelectDialogTestDlg dlg;
	m_pMainWnd = &dlg;
	dlg.DoModal();

	return FALSE;
}

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
Iran (Islamic Republic of) Iran (Islamic Republic of)
حجت اله بهلولی
حجت اله بهلولي
متولد 18 بهمن 1360 اصفهان
مدرک کارشناسی ارشد مهندسی کامپیوتر - نرم افزار

Hojjat Bohlooli
I was born in 7 Feb 1982, Isfahan Iran
Bachelor of science in Computer Science from Yazd university
Master of science in Software Engineering from university of Isfahan

Comments and Discussions