winapi_common
window_style.hpp
1 // Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
2 // This file is part of the "winapi-common" project.
3 // For details, see https://github.com/egor-tensin/winapi-common.
4 // Distributed under the MIT License.
5 
6 #pragma once
7 
8 namespace winapi {
9 
10 enum class WindowStyle {
11  // https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow
12  ForceMinimize = 11,
13  Hide = 0,
14  Maximize = 3,
15  Minimize = 6,
16  Restore = 9,
17  Show = 5,
18  ShowDefault = 10,
19  ShowMaximized = 3,
20  ShowMinimized = 2,
21  ShowMinNoActive = 7,
22  ShowNA = 8,
23  ShowNoActivate = 4,
24  ShowNormal = 1,
25 };
26 
27 } // namespace winapi