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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
/*****************************************************************************\
* Win32 Resource files grammar:
*
* Top level keywords/resource items:
* nameID ACCELERATOR
* [CHARACTERISTICS dword]
* [LANGUAGE language, sublanguage]
* [VERSION dword]
* BEGIN
* event, IDvalue [, type] [options]
* ...
* END
*-------------
* nameID BITMAP [loadmem] filename
*-------------
* nameID BITMAP [loadmem]
* BEGIN
* rawdata
* END
*-------------
* nameID CURSOR [loadmem] filename
*-------------
* nameID CURSOR [loadmem]
* BEGIN
* rawdata
* END
*-------------
* nameID DIALOG [loadmem] [EXSTYLE=extended-styles] x, y, width, height
* [CAPTION "text"]
* [CHARACTERISTICS dword]
* [CLASS class]
* [EXSTYLE=extended-styles]
* [FONT pointsize, face]
* [LANGUAGE language, sublanguage]
* [MENU menuname]
* [STYLE styles]
* [VERSION dword]
* BEGIN
* [controls]
* END
*-------------
* nameID DIALOGEX [loadmem] x, y, width, height [, helpID]
* [CAPTION "text"]
* [CHARACTERISTICS dword]
* [CLASS class]
* [EXSTYLE=extended-styles]
* [FONT pointsize, face, weight, italic]
* [LANGUAGE language, sublanguage]
* [MENU menuname]
* [STYLE styles]
* [VERSION dword]
* BEGIN
* [controls]
* END
*-------------
* nameID FONT [loadmem] filename
*-------------
* nameID ICON [loadmem] filename
*-------------
* nameID ICON [loadmem]
* BEGIN
* rawdata
* END
*-------------
* LANGUAGE languageID, sublanguageID
*-------------
* nameID MENU [loadmem]
* [CHARACTERISTICS dword]
* [LANGUAGE language, sublanguage]
* [VERSION dword]
* BEGIN
* [menuitems]
* END
*-------------
* nameID MENUEX [loadmem]
* [CHARACTERISTICS dword]
* [LANGUAGE language, sublanguage]
* [VERSION dword]
* BEGIN
* [menuexitems]
* END
*-------------
* nameID MESSAGETABLE [loadmem] filename
*-------------
* nameID RCDATA [loadmem]
* [CHARACTERISTICS dword]
* [LANGUAGE language, sublanguage]
* [VERSION dword]
* BEGIN
* [raw-data]
* END
*-------------
* STRINGTABLE [loadmem]
* [CHARACTERISTICS dword]
* [LANGUAGE language, sublanguage]
* [VERSION dword]
* BEGIN
* [stringID, "text"]
* ...
* END
*-------------
* versionID VERSIONINFO
* FILEVERSION maj1, maj2, min1, min2
* PRODUCTVERSION maj1, maj2, min1, min2
* FILEFLAGSMASK (VS_FFI_FILEFLAGMASK)
* FILEOS (VOS_*)
* FILETYPE (VFT_*)
* FILEFLAGS (VS_FF_*)
* FILESUBTYPE (VFT2_*)
* BEGIN
* BLOCK "StringFileInfo"
* BEGIN
* BLOCK "language-charset"
* BEGIN
* [VALUE "Comments", "yep\0"]
* VALUE "CompanyName", "Wine Developer Team\0"
* VALUE "FileDescription", "Resource compiler\0"
* VALUE "FileVersion", "0.01 alpha\0"
* VALUE "InternalName", "winerc\0"
* [VALUE "LegalCopyright", "Copyright (c) B.A. Stultiens 1998\0"]
* [VALUE "LegalTrademarks", "...\0"]
* VALUE "OriginalFilename", "winerc\0"
* [VALUE "PrivateBuild", "Yes always!\0"
* VALUE "ProductName", "Wine\0"
* VALUE "ProductVersion", "0.01 alpha\0"
* [VALUE "SpecialBuild", "No never! Well, maybe.\0"
* END
* END
* BLOCK "VarFileInfo"
* BEGIN
* VALUE "Translation", languageID, charsetID
* END
* END
*-------------
* nameID typeID [loadmem] filename
*-------------
* nameID typeID [loadmem]
* BEGIN
* [raw-data]
* END
*
*****************************************************************************
*
* Dialog controls:
* CONTROL text, ID, class, style, x, y, width, height [, exstyle]
*
* LTEXT text, ID, x, y, width, height [, style [, exstyle]]
* CTEXT text, ID, x, y, width, height [, style [, exstyle]]
* RTEXT text, ID, x, y, width, height [, style [, exstyle]]
*
* ICON text, ID, x, y, [width, height , style [, exstyle]]
*
* EDITTEXT ID, x, y, width, height [, style [, exstyle]]
*
* AUTO3STATE text, ID, x, y, width, height [, style [, exstyle]]
* AUTOCHECKBOX text, ID, x, y, width, height [, style [, exstyle]]
* AUTORADIOBUTTON text, ID, x, y, width, height [, style [, exstyle]]
* STATE3 text, ID, x, y, width, height [, style [, exstyle]]
* CHECKBOX text, ID, x, y, width, height [, style [, exstyle]]
* PUSHBUTTON text, ID, x, y, width, height [, style [, exstyle]]
* RADIOBUTTON text, ID, x, y, width, height [, style [, exstyle]]
* DEFPUSHBUTTON text, ID, x, y, width, height [, style [, exstyle]]
*
* COMBOBOX text, ID, x, y, width, height [, style [, exstyle]]
* GROUPBOX text, ID, x, y, width, height [, style [, exstyle]]
* LISTBOX text, ID, x, y, width, height [, style [, exstyle]]
* SCROLLBAR text, ID, x, y, width, height [, style [, exstyle]]
*
* FIXME: This is documented, but I don't know the BS_PUSHBOX style
* PUSHBOX text, ID, x, y, width, height [, style [, exstyle]]
\*****************************************************************************/