XShell.h
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:1k
- #ifndef _XSHELL_H
- #define _XSHELL_H
- #include <shellapi.h>
- static CString strTmpPath;
- class CXShell
- {
- public:
- CXShell();
- virtual ~CXShell();
- //browser system directory tree.
- BOOL GetFolder(CString* strSelectedFolder,
- const char* lpszTitle,
- const HWND hwndOwner,
- const char* strRootFolder,
- const char* strStartFolder);
- //show the file's system property window.
- void ShowFileProperties(const char *lpszFilename);
- private:
- static int CALLBACK BrowseCallbackProc(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
- };
- #endif //_XSHELL_H