Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/Windows/CommonDialog.h')
-rw-r--r--[-rwxr-xr-x]CPP/Windows/CommonDialog.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/CPP/Windows/CommonDialog.h b/CPP/Windows/CommonDialog.h
index f24bb5b2..aaf17ac5 100755..100644
--- a/CPP/Windows/CommonDialog.h
+++ b/CPP/Windows/CommonDialog.h
@@ -3,12 +3,16 @@
#ifndef __WINDOWS_COMMON_DIALOG_H
#define __WINDOWS_COMMON_DIALOG_H
-#include "Common/MyString.h"
+#include "../Common/MyString.h"
-namespace NWindows{
+namespace NWindows {
-bool MyGetOpenFileName(HWND hwnd, LPCWSTR title, LPCWSTR fullFileName,
- LPCWSTR s, UString &resPath
+bool MyGetOpenFileName(HWND hwnd, LPCWSTR title,
+ LPCWSTR initialDir, // can be NULL, so dir prefix in filePath will be used
+ LPCWSTR filePath, // full path
+ LPCWSTR filterDescription, // like "All files (*.*)"
+ LPCWSTR filter, // like "*.exe"
+ UString &resPath
#ifdef UNDER_CE
, bool openFolder = false
#endif