xtd 0.2.0
Loading...
Searching...
No Matches
folder_browser_box.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "../forms_export.hpp"
6#include "dialog_result.hpp"
7#include "iwin32_window.hpp"
8#include <xtd/environment>
9
11namespace xtd {
13 namespace forms {
33 public:
35
50 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::forms::iwin32_window& owner, const xtd::string& description);
58 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::forms::iwin32_window& owner, const xtd::string& description, xtd::environment::special_folder root_folder);
67 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::forms::iwin32_window& owner, const xtd::string& description, xtd::environment::special_folder root_folder, bool show_new_folder_button);
77 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::forms::iwin32_window& owner, const xtd::string& description, xtd::environment::special_folder root_folder, bool show_new_folder_button, bool auto_upgrade_enable);
89 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::string& description);
96 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::string& description, xtd::environment::special_folder root_folder);
104 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::string& description, xtd::environment::special_folder root_folder, bool show_new_folder_button);
113 static xtd::forms::dialog_result show(xtd::string& selected_path, const xtd::string& description, xtd::environment::special_folder root_folder, bool show_new_folder_button, bool auto_upgrade_enable);
115
116 private:
117 static xtd::forms::dialog_result show_folder_browser_box(xtd::string& selected_path, const xtd::string& description = xtd::string::empty_string, 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);
118 };
119 }
120}
Represents text as a sequence of character units.
Definition basic_string.hpp:79
static const basic_string empty_string
Represents the empty basic_string.
Definition basic_string.hpp:124
special_folder
Specifies enumerated constants used to retrieve directory paths to system special folders.
Definition environment.hpp:145
@ 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.hpp:32
static xtd::forms::dialog_result show(xtd::string &selected_path, const xtd::string &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::string &selected_path, const xtd::forms::iwin32_window &owner, const xtd::string &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::string &selected_path, const xtd::forms::iwin32_window &owner, const xtd::string &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::string &selected_path, const xtd::forms::iwin32_window &owner, const xtd::string &description)
Displays a folder browser dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &selected_path, const xtd::string &description, xtd::environment::special_folder root_folder, bool show_new_folder_button)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::string &selected_path, const xtd::string &description, xtd::environment::special_folder root_folder)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::string &selected_path)
Displays a folder browser dialog box.
static xtd::forms::dialog_result show(xtd::string &selected_path, const xtd::forms::iwin32_window &owner, const xtd::string &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::string &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::string &selected_path, const xtd::string &description)
Displays a folder browser dialog box.
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.hpp:23
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.hpp:37
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
dialog_result
Specifies identifiers to indicate the return value of a dialog box.
Definition dialog_result.hpp:43
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.hpp:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10