xtd
1.0.0
Toggle main menu visibility
Loading...
Searching...
No Matches
xtd.forms
include
xtd
forms
open_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
9
namespace
xtd
{
11
namespace
forms
{
30
class
forms_export_
open_file_dialog
final :
public
file_dialog
{
31
public
:
33
36
open_file_dialog
() =
default
;
38
40
44
std::ifstream
open_file
() const noexcept;
45
49
bool
multiselect
() const noexcept;
54
open_file_dialog
&
multiselect
(
bool
value);
56
57
private:
58
bool
run_file_dialog(
intptr
hwnd_owner) override;
59
void
run_file_sheet(
intptr
owner) override;
60
};
61
}
62
}
xtd::forms::file_dialog::file_dialog
file_dialog()
Initializes a new instance of the common_dialog class.
xtd::forms::open_file_dialog::open_file_dialog
open_file_dialog()=default
Initializes a new instance of the open_file_dialog class.
xtd::forms::open_file_dialog::multiselect
bool multiselect() const noexcept
Gets a value indicating whether the dialog box allows multiple files to be selected.
xtd::forms::open_file_dialog::open_file
std::ifstream open_file() const noexcept
Opens the file with read only permission selected by the user.
file_dialog.hpp
Contains xtd::forms::file_dialog dialog.
forms_export_
#define forms_export_
Define shared library export.
Definition
forms_export.hpp:13
xtd::intptr
std::intmax_t intptr
Represent a pointer or a handle.
Definition
intptr.hpp:23
xtd::forms
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition
texts.hpp:219
xtd
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition
abstract_object.hpp:8
Generated on
for xtd by
Gammasoft
. All rights reserved.