xtd - Reference Guide  0.1.1
Modern c++17/20 framework to create console, GUI and unit test applications on Windows, macOS, Linux, iOS and android.
process_window_style.h
Go to the documentation of this file.
1 #pragma once
5 #include "../ustring.h"
6 
8 namespace xtd {
10  namespace diagnostics {
17  enum class process_window_style {
19  normal = 0,
21  hidden = 1,
23  minimized = 2,
25  maximized = 3,
26  };
27 
29  inline std::ostream& operator<<(std::ostream& os, xtd::diagnostics::process_window_style value) {return os << to_string(value, {{diagnostics::process_window_style::normal, "normal"}, {diagnostics::process_window_style::hidden, "hidden"}, {diagnostics::process_window_style::minimized, "minimized"}, {diagnostics::process_window_style::maximized, "maximized"}});}
30  inline std::wostream& operator<<(std::wostream& os, xtd::diagnostics::process_window_style value) {return os << to_string(value, {{diagnostics::process_window_style::normal, L"normal"}, {diagnostics::process_window_style::hidden, L"hidden"}, {diagnostics::process_window_style::minimized, L"minimized"}, {diagnostics::process_window_style::maximized, L"maximized"}});}
32  }
33 }
process_window_style
Specified how a new window should appear when the system starts a process.
Definition: process_window_style.h:17
std::string to_string(const value_t &value, const std::string &fmt, const std::locale &loc)
Convert a specified value into a string with specified format and locale.
Definition: to_string.h:37
@ hidden
The hidden window style. A window can be either visible or hidden. The system displays a hidden windo...
@ minimized
The minimized window style. By default, the system reduces a minimized window to the size of its task...
@ maximized
The maximized window style. By default, the system enlarges a maximized window so that it fills the s...
@ normal
The normal, visible window style. The system displays a window with Normal style on the screen,...
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition: system_report.h:17