-
Notifications
You must be signed in to change notification settings - Fork 1
/
Sudoku.rc
378 lines (332 loc) · 12 KB
/
Sudoku.rc
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG 0, 0, 235, 55
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "About Sudoku"
FONT 8, "MS Sans Serif"
BEGIN
ICON IDR_MAINFRAME,IDC_STATIC,11,17,20,20
LTEXT "Sudoku Version 1.0",IDC_STATIC,40,10,119,8,SS_NOPREFIX
LTEXT "Copyright (C) Henri Aho 2005",IDC_STATIC,40,25,119,8
DEFPUSHBUTTON "OK",IDOK,178,7,50,14,WS_GROUP
END
IDD_SUDOKU_DIALOG DIALOGEX 0, 0, 245, 170
STYLE DS_SETFONT | DS_MODALFRAME | WS_MINIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_APPWINDOW
CAPTION "Sudoku - By Dankirk"
MENU IDR_MENU1
FONT 8, "MS Sans Serif", 0, 0, 0x1
BEGIN
DEFPUSHBUTTON "Solve",IDOK,174,127,58,16
PUSHBUTTON "",IDC_Square1,21,18,14,13
PUSHBUTTON "",IDC_Square2,35,18,14,13
PUSHBUTTON "",IDC_Square3,49,18,14,13
PUSHBUTTON "",IDC_Square4,70,18,14,13
PUSHBUTTON "",IDC_Square5,84,18,14,13
PUSHBUTTON "",IDC_Square6,98,18,14,13
PUSHBUTTON "",IDC_Square7,118,18,14,13
PUSHBUTTON "",IDC_Square8,132,18,14,13
PUSHBUTTON "",IDC_Square9,146,18,14,13
LTEXT "Square Value",IDC_STATIC,181,13,46,9
PUSHBUTTON "",IDC_Square10,21,32,14,13
PUSHBUTTON "",IDC_Square11,35,32,14,13
PUSHBUTTON "",IDC_Square12,49,32,14,13
PUSHBUTTON "",IDC_Square13,70,32,14,13
PUSHBUTTON "",IDC_Square14,84,32,14,13
PUSHBUTTON "",IDC_Square15,98,32,14,13
PUSHBUTTON "",IDC_Square16,118,32,14,13
PUSHBUTTON "",IDC_Square17,132,32,14,13
PUSHBUTTON "",IDC_Square18,146,32,14,13
PUSHBUTTON "",IDC_Square19,21,46,14,13
PUSHBUTTON "",IDC_Square20,35,46,14,13
PUSHBUTTON "",IDC_Square21,49,46,14,13
PUSHBUTTON "",IDC_Square22,70,46,14,13
PUSHBUTTON "",IDC_Square23,84,46,14,13
PUSHBUTTON "",IDC_Square24,98,46,14,13
PUSHBUTTON "",IDC_Square25,118,46,14,13
PUSHBUTTON "",IDC_Square26,132,46,14,13
PUSHBUTTON "",IDC_Square27,146,46,14,13
PUSHBUTTON "",IDC_Square28,21,65,14,13
PUSHBUTTON "",IDC_Square29,35,65,14,13
PUSHBUTTON "",IDC_Square30,49,65,14,13
PUSHBUTTON "",IDC_Square31,70,65,14,13
PUSHBUTTON "",IDC_Square32,84,65,14,13
PUSHBUTTON "",IDC_Square33,98,65,14,13
PUSHBUTTON "",IDC_Square34,118,65,14,13
PUSHBUTTON "",IDC_Square35,132,65,14,13
PUSHBUTTON "",IDC_Square36,146,65,14,13
PUSHBUTTON "",IDC_Square37,21,79,14,13
PUSHBUTTON "",IDC_Square38,35,79,14,13
PUSHBUTTON "",IDC_Square39,49,79,14,13
PUSHBUTTON "",IDC_Square40,70,79,14,13
PUSHBUTTON "",IDC_Square41,84,79,14,13
PUSHBUTTON "",IDC_Square42,98,79,14,13
PUSHBUTTON "",IDC_Square43,118,79,14,13
PUSHBUTTON "",IDC_Square44,132,79,14,13
PUSHBUTTON "",IDC_Square45,146,79,14,13
PUSHBUTTON "",IDC_Square46,21,92,14,13
PUSHBUTTON "",IDC_Square47,35,92,14,13
PUSHBUTTON "",IDC_Square48,49,92,14,13
PUSHBUTTON "",IDC_Square49,70,92,14,13
PUSHBUTTON "",IDC_Square50,84,92,14,13
PUSHBUTTON "",IDC_Square51,98,92,14,13
PUSHBUTTON "",IDC_Square52,118,92,14,13
PUSHBUTTON "",IDC_Square53,132,92,14,13
PUSHBUTTON "",IDC_Square54,146,92,14,13
PUSHBUTTON "",IDC_Square55,21,114,14,13
PUSHBUTTON "",IDC_Square56,35,114,14,13
PUSHBUTTON "",IDC_Square57,49,114,14,13
PUSHBUTTON "",IDC_Square58,70,114,14,13
PUSHBUTTON "",IDC_Square59,84,114,14,13
PUSHBUTTON "",IDC_Square60,98,114,14,13
PUSHBUTTON "",IDC_Square61,118,114,14,13
PUSHBUTTON "",IDC_Square62,132,114,14,13
PUSHBUTTON "",IDC_Square63,146,114,14,13
PUSHBUTTON "",IDC_Square64,21,128,14,13
PUSHBUTTON "",IDC_Square65,35,128,14,13
PUSHBUTTON "",IDC_Square66,49,128,14,13
PUSHBUTTON "",IDC_Square67,70,128,14,13
PUSHBUTTON "",IDC_Square68,84,128,14,13
PUSHBUTTON "",IDC_Square69,98,128,14,13
PUSHBUTTON "",IDC_Square70,118,128,14,13
PUSHBUTTON "",IDC_Square71,132,128,14,13
PUSHBUTTON "",IDC_Square72,146,128,14,13
PUSHBUTTON "",IDC_Square73,21,142,14,13
PUSHBUTTON "",IDC_Square74,35,142,14,13
PUSHBUTTON "",IDC_Square75,49,142,14,13
PUSHBUTTON "",IDC_Square76,70,142,14,13
PUSHBUTTON "",IDC_Square77,84,142,14,13
PUSHBUTTON "",IDC_Square78,98,142,14,13
PUSHBUTTON "",IDC_Square79,118,142,14,13
PUSHBUTTON "",IDC_Square80,132,142,14,13
PUSHBUTTON "",IDC_Square81,146,142,14,13
GROUPBOX "",IDC_STATIC,7,7,161,156
PUSHBUTTON "Load Last",IDC_LoadLast,174,95,58,16
CONTROL "1",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,180,23,16,14
CONTROL "2",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,197,23,16,14
CONTROL "3",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,214,23,16,14
CONTROL "4",IDC_RADIO4,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,180,38,16,14
CONTROL "5",IDC_RADIO5,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,197,38,16,14
CONTROL "6",IDC_RADIO6,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,214,38,16,14
CONTROL "7",IDC_RADIO7,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,180,53,16,14
CONTROL "8",IDC_RADIO8,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,197,53,16,14
CONTROL "9",IDC_RADIO9,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,214,53,16,14
CONTROL "0",IDC_RADIO0,"Button",BS_AUTORADIOBUTTON | BS_PUSHLIKE,197,67,16,14
PUSHBUTTON "Check",IDC_Check,174,111,58,16
END
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x4L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Sudoku MFC Application"
VALUE "FileVersion", "1, 0, 0, 1"
VALUE "InternalName", "Sudoku"
VALUE "LegalCopyright", "Copyright (C) Henri Aho 2005"
VALUE "OriginalFilename", "Sudoku.EXE"
VALUE "ProductName", "Sudoku Application"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUTBOX, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 228
TOPMARGIN, 7
BOTTOMMARGIN, 48
END
IDD_SUDOKU_DIALOG, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 238
TOPMARGIN, 7
BOTTOMMARGIN, 163
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE
BEGIN
IDS_ABOUTBOX "&About Sudoku..."
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Finnish (Finland) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_FIN)
LANGUAGE LANG_FINNISH, SUBLANG_DEFAULT
#pragma code_page(1252)
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_SAVEANDLOAD DIALOGEX 0, 0, 270, 63
STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sudoku - Save / Load"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
LTEXT "Path",IDC_STATIC,21,17,19,8
PUSHBUTTON "Save",IDC_SAVE,209,7,54,24
DEFPUSHBUTTON "Load",IDC_LOAD,209,32,54,24
COMBOBOX IDC_COMBO,21,27,169,55,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP
END
IDD_SETTINGS DIALOGEX 0, 0, 197, 99
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Sudoku - Settings"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,102,70,50,14
PUSHBUTTON "Cancel",IDCANCEL,40,71,50,14
LTEXT "Define size of Sudoku table (default is 3x3)",IDC_STATIC,30,17,145,8
EDITTEXT IDC_TABLESIZE,49,36,40,14,ES_AUTOHSCROLL
EDITTEXT IDC_TABLESIZE2,104,36,40,14,ES_AUTOHSCROLL | ES_READONLY
LTEXT "X",IDC_STATIC,95,39,8,8
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_SAVEANDLOAD, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 263
TOPMARGIN, 7
BOTTOMMARGIN, 56
END
IDD_SETTINGS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 190
TOPMARGIN, 7
BOTTOMMARGIN, 92
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"#define _AFX_NO_SPLITTER_RESOURCES\r\n"
"#define _AFX_NO_OLE_RESOURCES\r\n"
"#define _AFX_NO_TRACKER_RESOURCES\r\n"
"#define _AFX_NO_PROPERTY_RESOURCES\r\n"
"\r\n"
"#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)\r\n"
"#ifdef _WIN32\r\n"
"LANGUAGE 9, 1\r\n"
"#pragma code_page(1252)\r\n"
"#endif //_WIN32\r\n"
"#include ""res\\Sudoku.rc2"" // non-Microsoft Visual C++ edited resources\r\n"
"#include ""afxres.rc"" // Standard components\r\n"
"#endif\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDR_MAINFRAME ICON "res\\Sudoku.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU1 MENU
BEGIN
POPUP "File"
BEGIN
MENUITEM "Clear Table", ID_FILE_CLEAR
MENUITEM "Save / Load", ID_FILE_SAVELOAD
MENUITEM "Settings", ID_FILE_SETTINGS
MENUITEM "Easy Mode", ID_FILE_EASYMODE
MENUITEM "Help", ID_FILE_HELP
MENUITEM "Exit", ID_FILE_EXIT
END
END
#endif // Finnish (Finland) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
#define _AFX_NO_SPLITTER_RESOURCES
#define _AFX_NO_OLE_RESOURCES
#define _AFX_NO_TRACKER_RESOURCES
#define _AFX_NO_PROPERTY_RESOURCES
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE 9, 1
#pragma code_page(1252)
#endif //_WIN32
#include "res\Sudoku.rc2" // non-Microsoft Visual C++ edited resources
#include "afxres.rc" // Standard components
#endif
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED