MCPcopy Create free account
hub / github.com/bailey27/cppcryptfs / CFolderDialog

Class CFolderDialog

cppcryptfs/ui/FolderDialog.h:14–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12#include <afxwin.h>
13
14class CFolderDialog
15{
16friend static int CALLBACK BrowseDirectoryCallback(
17 HWND hWnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
18
19public:
20 // disallow copying
21 CFolderDialog(CFolderDialog const&) = delete;
22 void operator=(CFolderDialog const&) = delete;
23
24 CFolderDialog( LPCTSTR lpszFolderName = NULL,
25 DWORD dwFlags = NULL/*BIF_RETURNONLYFSDIRS*/,
26 CWnd* pParentWnd = NULL);
27 virtual ~CFolderDialog();
28 virtual int DoModal();
29 CString GetPathName() const;
30
31protected:
32 virtual void OnInitDialog();
33 virtual void OnSelChanged(ITEMIDLIST* pIdl);
34 virtual void CallbackFunction(HWND hWnd, UINT uMsg, LPARAM lParam);
35
36 void EnableOK(BOOL bEnable = TRUE);
37 void SetSelection(LPCTSTR pszSelection);
38 void SetSelection(ITEMIDLIST* pIdl);
39 void SetStatusText(LPCTSTR pszStatusText);
40 CString ShortName(const CString& strName);
41
42public:
43 BROWSEINFO m_bi;
44
45protected:
46 CString m_strInitialFolderName;
47 CString m_strFinalFolderName;
48
49 TCHAR m_szDisplayName[MAX_PATH];
50 TCHAR m_szPath[MAX_PATH];
51
52 HWND m_hDialogBox;
53
54 CString m_strTitleHolder;
55
56
57};
58
59#endif // _CFolderDialog_

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected