xtd 0.2.0
Loading...
Searching...
No Matches
folder_browser_box.h
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.h"
6#include "dialog_result.h"
7#include "iwin32_window.h"
8#include <xtd/environment>
9
11namespace xtd {
13 namespace forms {
31 public:
33
48 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::forms::iwin32_window& owner, const xtd::ustring& description);
56 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::forms::iwin32_window& owner, const xtd::ustring& description, xtd::environment::special_folder root_folder);
65 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::forms::iwin32_window& owner, const xtd::ustring& description, xtd::environment::special_folder root_folder, bool show_new_folder_button);
75 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::forms::iwin32_window& owner, const xtd::ustring& description, xtd::environment::special_folder root_folder, bool show_new_folder_button, bool auto_upgrade_enable);
87 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::ustring& description);
94 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::ustring& description, xtd::environment::special_folder root_folder);
102 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::ustring& description, xtd::environment::special_folder root_folder, bool show_new_folder_button);
111 static xtd::forms::dialog_result show(xtd::ustring& selected_path, const xtd::ustring& description, xtd::environment::special_folder root_folder, bool show_new_folder_button, bool auto_upgrade_enable);
113
114 private:
115 static xtd::forms::dialog_result show_folder_browser_box(xtd::ustring& selected_path, const xtd::ustring& description = "", xtd::environment::special_folder root_folder = xtd::environment::special_folder::desktop, bool show_new_folder_button = true, bool auto_upgrade_enable = true, const iwin32_window* owner = nullptr);
116 };
117 }
118}
special_folder
Specifies enumerated constants used to retrieve directory paths to system special folders.
Definition environment.h:195
@ desktop
The logical Desktop rather than the physical file system location.
Represents a common dialog box that displays a folder browser dialog. This class cannot be inherited.
Definition folder_browser_box.h:30
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::forms::iwin32_window &owner, const xtd::ustring &description, xtd::environment::special_folder root_folder, bool show_new_folder_button)
Displays a folder browser dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::ustring &description, xtd::environment::special_folder root_folder)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::forms::iwin32_window &owner, const xtd::ustring &description, xtd::environment::special_folder root_folder)
Displays a folder browser dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::ustring &description, xtd::environment::special_folder root_folder, bool show_new_folder_button, bool auto_upgrade_enable)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::ustring &description)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::forms::iwin32_window &owner)
Displays a folder browser dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::forms::iwin32_window &owner, const xtd::ustring &description)
Displays a folder browser dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::ustring &selected_path)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::forms::iwin32_window &owner, const xtd::ustring &description, xtd::environment::special_folder root_folder, bool show_new_folder_button, bool auto_upgrade_enable)
Displays a folder browser dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::ustring &selected_path, const xtd::ustring &description, xtd::environment::special_folder root_folder, bool show_new_folder_button)
Displays a folder browser dialog box.
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.h:21
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
Contains xtd::forms::dialog_result enum class.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.h:41
Contains xtd::forms::iwin32_window interface.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10