Click here to Skip to main content
15,894,825 members
Articles / Desktop Programming / ATL

MultiCopier Software

Rate me:
Please Sign up or sign in to vote.
4.90/5 (20 votes)
29 Sep 20021 min read 98.5K   3.8K   68  
The fastest, easy way to copy files from different folders at the same time
////////////////////////////////////////////////////////////////////////////////
// $Workfile: BrowseForFolder.h $
// $Archive: /ZipArc/BrowseForFolder.h $
// $Date: 01-11-07 15:52 $
////////////////////////////////////////////////////////////////////////////////
/*
* BrowseForFolder.h
*
* You are free to use and distribute. May not be sold for profit. 
*****************************************************/


#if !defined(AFX_BROWSEFORFOLDER_H__67074462_2EEE_11D3_A25C_F4E7CA30A942__INCLUDED_)
#define AFX_BROWSEFORFOLDER_H__67074462_2EEE_11D3_A25C_F4E7CA30A942__INCLUDED_

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

class CBrowseForFolder  
{
public:
	void SetNewStyle(bool val);
	// parent's HWND
	HWND hWndOwner;
	// directory to select
	CString strStartupDir;
	void SetStatusBar(bool val);
	void SetEditBox(bool val);
	// title of the browse dialog
	CString strTitle;
	// the same as Image variable in the BROWSEINFO structure ( see help )
	int Image;
	// directory to explore from
	CString strDirRoot;
	bool GetFolder(CString &returnPath);
	CBrowseForFolder();
	virtual ~CBrowseForFolder();

protected:
	UINT flags;
	void GetPidl(CString name, LPITEMIDLIST);
	static int CALLBACK BrowseCallbackProc( HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
private:

};


#endif // !defined(AFX_BROWSEFORFOLDER_H__67074462_2EEE_11D3_A25C_F4E7CA30A942__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 has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
Egypt Egypt
My name is Ahmed Ismaiel Zakaria
i'm programming c++ & visual c++ (MFC )& Visual basic and recently COM,ATL
Student in Faculty of computer and information science in Egypt

Comments and Discussions