aboutsummaryrefslogtreecommitdiff
path: root/CPP/Windows/CommonDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/CommonDialog.h')
-rw-r--r--CPP/Windows/CommonDialog.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/CPP/Windows/CommonDialog.h b/CPP/Windows/CommonDialog.h
new file mode 100644
index 0000000..aaf17ac
--- /dev/null
+++ b/CPP/Windows/CommonDialog.h
@@ -0,0 +1,23 @@
1// Windows/CommonDialog.h
2
3#ifndef __WINDOWS_COMMON_DIALOG_H
4#define __WINDOWS_COMMON_DIALOG_H
5
6#include "../Common/MyString.h"
7
8namespace NWindows {
9
10bool MyGetOpenFileName(HWND hwnd, LPCWSTR title,
11 LPCWSTR initialDir, // can be NULL, so dir prefix in filePath will be used
12 LPCWSTR filePath, // full path
13 LPCWSTR filterDescription, // like "All files (*.*)"
14 LPCWSTR filter, // like "*.exe"
15 UString &resPath
16 #ifdef UNDER_CE
17 , bool openFolder = false
18 #endif
19);
20
21}
22
23#endif