khanat-code-old/code/nel/tools/sound/source_sounds_builder/file_dialog.h
kervala 47ccfe279a Changed: Don't use anymore the current SDK in registry (very unreliable)
Changed: Use the Windows SDK installed with VC++ or the most recent compatible one
2013-09-27 10:52:44 +02:00

20 lines
405 B
C++

/*
* Workaround from the MFC CFileDialog Multi Select bug
* Thanks to Jens Bohlmann (bohly@ki.comcity.de)
*/
#include "afxdlgs.h"
#define FILENAME_BUFFERSIZE 64000
class CMultiFileDialog : public CFileDialog
{
public:
CMultiFileDialog(BOOL bOpenFileDialog, LPCTSTR lpszDefExt, LPCTSTR lpszFileName,
DWORD dwFlags, LPCTSTR lpszFilter, CWnd* pParentWnd);
private:
CString m_strFileName;
};