xtd 0.2.0
Loading...
Searching...
No Matches
save_file_dialog.hpp
Go to the documentation of this file.
1
4#pragma once
5#include "file_dialog.hpp"
6#include <xtd/io/file>
7
9namespace xtd {
11 namespace forms {
31 public:
33
36 save_file_dialog() = default;
38
40
44 std::fstream open_file() const noexcept;
46
47 private:
48 bool run_file_dialog(intptr hwnd_owner) override;
49 void run_file_sheet(intptr owner) override;
50 };
51 }
52}
Displays a dialog box from which the user can select a file.
Definition file_dialog.hpp:45
Prompts the user to select a location for saving a file. This class cannot be inherited.
Definition save_file_dialog.hpp:30
save_file_dialog()=default
Initializes a new instance of the save_file_dialog class.
std::fstream open_file() const noexcept
Opens the file with read/write permission selected by the user.
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
intmax_t intptr
Represent a pointer or a handle.
Definition intptr.hpp:23
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::file_dialog dialog.