summaryrefslogtreecommitdiff
path: root/include/msapi/winres.h
blob: 15e139c8929251ffa0d73e729983df3e2da18ad5 (plain)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* winres.h Missing in MinGW. Adding missing constants */

#ifdef __GNUC__
#ifndef __WINRES_H
#define __WINRES_H

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0501
#endif
#ifndef _WIN32_IE
#define _WIN32_IE 0x0501
#endif

#define HOTKEY_CLASSA	"msctls_hotkey32"

#ifdef _COMMCTRL_H
#error "Resource should include winres.h first!"
#endif

/* FIXME: It seems if we include richedit.h later we got a problem with MinGW + UNICODE */
#ifdef UNICODE
#undef UNICODE
#endif

#include <winresrc.h>

#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif

#ifndef IDCLOSE
#define IDCLOSE 8
#endif

#endif
#else

#ifdef _AFX_MINREBUILD
#pragma component(minrebuild, off)
#endif

#define VS_VERSION_INFO     1

#ifdef APSTUDIO_INVOKED
#define APSTUDIO_HIDDEN_SYMBOLS // Ignore following symbols
#endif

#ifndef WINVER
#define WINVER 0x0400   // default to Windows Version 4.0
#endif

#include <winresrc.h>

// operation messages sent to DLGINIT
#define LB_ADDSTRING    (WM_USER+1)
#define CB_ADDSTRING    (WM_USER+3)

#ifdef APSTUDIO_INVOKED
#undef APSTUDIO_HIDDEN_SYMBOLS
#endif

#ifdef IDC_STATIC
#undef IDC_STATIC
#endif
#define IDC_STATIC      (-1)

#ifdef _AFX_MINREBUILD
#pragma component(minrebuild, on)
#endif

#endif