xtd 0.2.0
Loading...
Searching...
No Matches
save_file_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"
9#include <xtd/static>
10#include <xtd/string>
11
13namespace xtd {
15 namespace forms {
35 public:
37
45
52 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::forms::iwin32_window& owner, const xtd::string& title);
53
61 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::forms::iwin32_window& owner, const xtd::string& title, const save_file_box_options options);
62
70 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::forms::iwin32_window& owner, const xtd::string& title, const xtd::string& initial_directory);
71
80 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::forms::iwin32_window& owner, const xtd::string& title, const xtd::string& initial_directory, const save_file_box_options options);
81
90 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::forms::iwin32_window& owner, const xtd::string& title, const xtd::string& initial_directory, const xtd::string& filter);
91
101 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::forms::iwin32_window& owner, const xtd::string& title, const xtd::string& initial_directory, const xtd::string& filter, const save_file_box_options options);
102
108
114 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::string& title);
115
122 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::string& title, const save_file_box_options options);
123
130 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::string& title, const xtd::string& initial_directory);
131
139 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::string& title, const xtd::string& initial_directory, const save_file_box_options options);
140
148 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::string& title, const xtd::string& initial_directory, const xtd::string& filter);
149
158 static xtd::forms::dialog_result show(xtd::string& file_name, const xtd::string& title, const xtd::string& initial_directory, const xtd::string& filter, const save_file_box_options options);
160
161 private:
162 static xtd::forms::dialog_result show_save_file_box(xtd::string& output, const xtd::string& title, const xtd::string& initial_directory = xtd::string::empty_string, const xtd::string& filter = xtd::string::empty_string, const save_file_box_options options = save_file_box_options::none, const iwin32_window* owner = nullptr);
163 };
164 }
165}
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
Provides an interface to expose Win32 HWND handles.
Definition iwin32_window.hpp:23
Represents a common dialog box that displays a file save dialog to the user to select a location for ...
Definition save_file_box.hpp:34
static xtd::forms::dialog_result show(xtd::string &file_name)
Displays a save file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner, const xtd::string &title, const xtd::string &initial_directory, const xtd::string &filter)
Displays a save file dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner, const xtd::string &title, const xtd::string &initial_directory, const xtd::string &filter, const save_file_box_options options)
Displays a save file dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::string &title)
Displays a save file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::string &title, const xtd::string &initial_directory, const save_file_box_options options)
Displays a save file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::string &title, const xtd::string &initial_directory)
Displays a save file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::string &title, const xtd::string &initial_directory, const xtd::string &filter)
Displays a save file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner, const xtd::string &title, const save_file_box_options options)
Displays a save file dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner)
Displays a save file dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::string &title, const xtd::string &initial_directory, const xtd::string &filter, const save_file_box_options options)
Displays a save file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner, const xtd::string &title, const xtd::string &initial_directory, const save_file_box_options options)
Displays a save file dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::string &title, const save_file_box_options options)
Displays a select file dialog box.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner, const xtd::string &title, const xtd::string &initial_directory)
Displays a save file dialog box in front of a specified window.
static xtd::forms::dialog_result show(xtd::string &file_name, const xtd::forms::iwin32_window &owner, const xtd::string &title)
Displays a save file dialog box in front of a specified window.
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
save_file_box_options
Specifies options on a xtd::forms::save_file_box.
Definition save_file_box_options.hpp:22
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
Contains xtd::forms::save_file_box_options control.