Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qt_windows.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#ifndef QT_WINDOWS_H
5
#define QT_WINDOWS_H
6
7
#if 0
8
#pragma qt_sync_skip_header_check
9
#pragma qt_sync_stop_processing
10
#endif
11
12
#ifndef WINVER
13
# define WINVER 0x0A00
// _WIN32_WINNT_WIN10
14
#endif
15
#ifndef _WIN32_WINNT
16
# define _WIN32_WINNT 0x0A00
17
#endif
18
#ifndef _WIN32_IE
19
# define _WIN32_IE 0x0A00
20
#endif
21
#ifndef NTDDI_VERSION
22
# define NTDDI_VERSION 0x0A00000C
// NTDDI_WIN10_NI
23
#endif
24
25
#ifndef NOMINMAX
26
# define NOMINMAX
27
#endif
28
#include <
windows.h
>
29
30
// already defined when compiled with WINVER >= 0x0500
31
#ifndef SPI_SETMENUANIMATION
32
#define SPI_SETMENUANIMATION 0x1003
33
#endif
34
#ifndef SPI_SETMENUFADE
35
#define SPI_SETMENUFADE 0x1013
36
#endif
37
#ifndef SPI_SETCOMBOBOXANIMATION
38
#define SPI_SETCOMBOBOXANIMATION 0x1005
39
#endif
40
#ifndef SPI_SETTOOLTIPANIMATION
41
#define SPI_SETTOOLTIPANIMATION 0x1017
42
#endif
43
#ifndef SPI_SETTOOLTIPFADE
44
#define SPI_SETTOOLTIPFADE 0x1019
45
#endif
46
#ifndef SPI_SETUIEFFECTS
47
#define SPI_SETUIEFFECTS 0x103F
48
#endif
49
#ifndef SPI_GETMENUANIMATION
50
#define SPI_GETMENUANIMATION 0x1002
51
#endif
52
#ifndef SPI_GETMENUFADE
53
#define SPI_GETMENUFADE 0x1012
54
#endif
55
#ifndef SPI_GETCOMBOBOXANIMATION
56
#define SPI_GETCOMBOBOXANIMATION 0x1004
57
#endif
58
#ifndef SPI_GETTOOLTIPANIMATION
59
#define SPI_GETTOOLTIPANIMATION 0x1016
60
#endif
61
#ifndef SPI_GETTOOLTIPFADE
62
#define SPI_GETTOOLTIPFADE 0x1018
63
#endif
64
#ifndef SPI_GETUIEFFECTS
65
#define SPI_GETUIEFFECTS 0x103E
66
#endif
67
#ifndef SPI_GETKEYBOARDCUES
68
#define SPI_GETKEYBOARDCUES 0x100A
69
#endif
70
#ifndef SPI_GETGRADIENTCAPTIONS
71
#define SPI_GETGRADIENTCAPTIONS 0x1008
72
#endif
73
#ifndef IDC_HAND
74
#define IDC_HAND MAKEINTRESOURCE(32649)
75
#endif
76
#ifndef WM_MOUSEWHEEL
77
#define WM_MOUSEWHEEL 0x020A
78
#endif
79
#ifndef WM_MOUSEHWHEEL
80
#define WM_MOUSEHWHEEL 0x020E
81
#endif
82
#ifndef ETO_PDY
83
#define ETO_PDY 0x2000
84
#endif
85
#ifndef COLOR_GRADIENTACTIVECAPTION
86
#define COLOR_GRADIENTACTIVECAPTION 27
87
#endif
88
#ifndef COLOR_GRADIENTINACTIVECAPTION
89
#define COLOR_GRADIENTINACTIVECAPTION 28
90
#endif
91
92
// already defined when compiled with WINVER >= 0x0600
93
#ifndef SPI_GETFLATMENU
94
#define SPI_GETFLATMENU 0x1022
95
#endif
96
#ifndef CS_DROPSHADOW
97
#define CS_DROPSHADOW 0x00020000
98
#endif
99
#ifndef CLEARTYPE_QUALITY
100
#define CLEARTYPE_QUALITY 5
101
#endif
102
103
#endif
// QT_WINDOWS_H
windows.h
qtbase
src
corelib
global
qt_windows.h
Generated by
1.10.0