aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/winapi/window_style.hpp
blob: dd12a56c257e23df77cab09e6e1726f21fe9bb66 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
// This file is part of the "winapi-common" project.
// For details, see https://github.com/egor-tensin/winapi-common.
// Distributed under the MIT License.

#pragma once

namespace winapi {

enum class WindowStyle {
    // https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-showwindow
    ForceMinimize = 11,
    Hide = 0,
    Maximize = 3,
    Minimize = 6,
    Restore = 9,
    Show = 5,
    ShowDefault = 10,
    ShowMaximized = 3,
    ShowMinimized = 2,
    ShowMinNoActive = 7,
    ShowNA = 8,
    ShowNoActivate = 4,
    ShowNormal = 1,
};

} // namespace winapi