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
qwindowdefs_win.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 QWINDOWDEFS_WIN_H
5#define QWINDOWDEFS_WIN_H
6
7#include <QtGui/qtguiglobal.h>
8
10
11
13
14#if !defined(Q_NOWINSTRICT)
15#define Q_WINSTRICT
16#endif
17
18#if defined(Q_WINSTRICT)
19
20#if !defined(STRICT)
21#define STRICT
22#endif
23#undef NO_STRICT
24#define Q_DECLARE_HANDLE(name) struct name##__; typedef struct name##__ *name
25
26#else
27
28#if !defined(NO_STRICT)
29#define NO_STRICT
30#endif
31#undef STRICT
32#define Q_DECLARE_HANDLE(name) typedef HANDLE name
33
34#endif
35
36#ifndef HINSTANCE
38#endif
39#ifndef HMODULE
40typedef HINSTANCE HMODULE;
41#endif
42#ifndef HDC
44#endif
45#ifndef HWND
47#endif
48#ifndef HFONT
50#endif
51#ifndef HPEN
53#endif
54#ifndef HBRUSH
56#endif
57#ifndef HBITMAP
59#endif
60#ifndef HICON
62#endif
63#ifndef HCURSOR
64typedef HICON HCURSOR;
65#endif
66#ifndef HPALETTE
68#endif
69#ifndef HRGN
71#endif
72#ifndef HMONITOR
74#endif
75#ifndef HGLRC
77#endif
78#ifndef _HRESULT_DEFINED
79typedef long HRESULT;
80#endif
81
82typedef struct tagMSG MSG;
83
84#endif // QWINDOWDEFS_WIN_H
Combined button and popup list for selecting options.
#define Q_DECLARE_HANDLE(name)
struct tagMSG MSG
long HRESULT
HINSTANCE HMODULE
HICON HCURSOR