- // DropFiles.h
- #ifndef _DROPFILES_H
- #define _DROPFILES_H
- #include <shlobj.h>
- #include <afxcoll.h>
- class CDropFiles
- {
- public:
- CDropFiles();
- ~CDropFiles();
- void AddFile(const CString &sFile);
- void CreateBuffer();
- void* GetBuffer() const;
- int GetBuffSize() const;
- private:
- CStringArray m_aFiles;
- char *m_pBuff;
- int m_nBuffSize;
- };
- #endif //!_DROPFILES_H