-
Notifications
You must be signed in to change notification settings - Fork 0
/
resource.h
392 lines (374 loc) · 16 KB
/
resource.h
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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
#pragma once
#ifndef IDC_STATIC
#define IDC_STATIC -1
#endif
#define CW_USEDEFAULT16 0x8000
#define IDS_CALC_NAME 1
#define IDS_MATH_ERROR 2
#define IDS_QUICKHELP 3
#define IDS_AUTHOR 4
#define IDD_DIALOG_SCIENTIFIC 101
#define IDD_DIALOG_STANDARD 102
// #define IDD_DIALOG_ABOUT 103
#define IDD_DIALOG_STAT 104
#define IDD_DIALOG_CONVERSION 105
#define IDR_MENU_SCIENTIFIC_1 106
#define IDR_MENU_SCIENTIFIC_2 107
#define IDR_MENU_STANDARD 108
// #define IDB_BITMAP_ROS 109
#define IDI_CALC 110
#define IDC_RADIO_HEX 1002
#define IDC_RADIO_DEC 1003
#define IDC_RADIO_OCT 1004
#define IDC_RADIO_BIN 1005
#define IDC_CHECK_INV 1006
#define IDC_CHECK_HYP 1007
#define IDC_BUTTON_STA 1009
#define IDC_BUTTON_AVE 1010
#define IDC_BUTTON_SUM 1011
#define IDC_BUTTON_S 1012
#define IDC_BUTTON_DAT 1013
#define IDC_BUTTON_FE 1014
#define IDC_BUTTON_DMS 1015
#define IDC_BUTTON_SIN 1016
#define IDC_BUTTON_COS 1017
#define IDC_BUTTON_TAN 1018
#define IDC_BUTTON_LEFTPAR 1019
#define IDC_BUTTON_EXP 1020
#define IDC_BUTTON_XeY 1021
#define IDC_BUTTON_Xe2 1022
#define IDC_BUTTON_Xe3 1023
#define IDC_BUTTON_RIGHTPAR 1024
#define IDC_BUTTON_LN 1025
#define IDC_BUTTON_LOG 1026
#define IDC_BUTTON_NF 1027
#define IDC_BUTTON_RX 1028
#define IDC_BUTTON_MC 1029
#define IDC_BUTTON_MR 1030
#define IDC_BUTTON_MS 1031
#define IDC_BUTTON_MP 1032
#define IDC_BUTTON_PI 1033
#define IDC_BUTTON_7 1034
#define IDC_BUTTON_4 1035
#define IDC_BUTTON_1 1036
#define IDC_BUTTON_0 1037
#define IDC_BUTTON_A 1038
#define IDC_BUTTON_8 1039
#define IDC_BUTTON_5 1040
#define IDC_BUTTON_2 1041
#define IDC_BUTTON_SIGN 1042
#define IDC_BUTTON_B 1043
#define IDC_BUTTON_9 1044
#define IDC_BUTTON_6 1045
#define IDC_BUTTON_3 1046
#define IDC_BUTTON_DOT 1047
#define IDC_BUTTON_C 1048
#define IDC_BUTTON_DIV 1049
#define IDC_BUTTON_MULT 1050
#define IDC_BUTTON_SUB 1051
#define IDC_BUTTON_ADD 1052
#define IDC_BUTTON_D 1053
#define IDC_BUTTON_MOD 1054
#define IDC_BUTTON_OR 1055
#define IDC_BUTTON_LSH 1056
#define IDC_BUTTON_EQU 1057
#define IDC_BUTTON_E 1058
#define IDC_BUTTON_AND 1059
#define IDC_BUTTON_XOR 1060
#define IDC_BUTTON_NOT 1061
#define IDC_BUTTON_INT 1062
#define IDC_BUTTON_F 1063
#define IDC_RADIO_QWORD 1064
#define IDC_RADIO_DWORD 1065
#define IDC_RADIO_WORD 1066
#define IDC_RADIO_BYTE 1067
#define IDC_RADIO_DEG 1068
#define IDC_RADIO_RAD 1069
#define IDC_RADIO_GRAD 1070
#define IDC_BUTTON_CANC 1071
#define IDC_BUTTON_CE 1072
#define IDC_BUTTON_BACK 1073
#define IDC_TEXT_OUTPUT 1074
#define IDC_TEXT_PARENT 1075
#define IDC_TEXT_MEMORY 1076
// #define IDC_EDIT_LICENSE 1078
#define IDC_LIST_STAT 1079
#define IDC_BUTTON_RET 1080
#define IDC_BUTTON_LOAD 1081
#define IDC_BUTTON_CD 1082
#define IDC_BUTTON_CAD 1083
#define IDC_TEXT_NITEMS 1084
#define IDC_BUTTON_SQRT 1085
#define IDC_BUTTON_PERCENT 1086
#define IDC_BUTTON_CONVERT 1087
// #define IDC_TEXT_VERSION 1088
#define IDC_BUTTON_FOCUS 1089
#define IDC_COMBO_CATEGORY 1090
#define IDC_COMBO_FROM 1091
#define IDC_COMBO_TO 1092
#define IDC_BUTTON_RSH 1093
#define IDC_BUTTON_XrY 1094
/* TYPES OF CONVERSIONS */
#define IDS_CONV_ANGLE 2000
#define IDS_CONV_AREA 2001
#define IDS_CONV_CONSUMPTION 2002
#define IDS_CONV_CURRENCY 2003
#define IDS_CONV_ENERGY 2004
#define IDS_CONV_LENGTH 2005
#define IDS_CONV_POWER 2006
#define IDS_CONV_PRESSURE 2007
#define IDS_CONV_TEMPERATURE 2008
#define IDS_CONV_TIME 2009
#define IDS_CONV_VELOCITY 2010
#define IDS_CONV_VOLUME 2011
#define IDS_CONV_WEIGHT 2012
/* TYPES OF ANGLES */
#define IDS_ANGLE_ARCMINUTES 2100
#define IDS_ANGLE_ARCSECONDS 2101
#define IDS_ANGLE_DEGREES 2102
#define IDS_ANGLE_GRADIANS 2103
#define IDS_ANGLE_RADIANS 2104
/* TYPES OF AREAS */
#define IDS_AREA_ACRES 2200
#define IDS_AREA_ACRES_BRAZIL 2201
#define IDS_AREA_ACRES_FRANCE 2202
#define IDS_AREA_ACRES_SCOTS 2203
#define IDS_AREA_ACRES_US 2204
#define IDS_AREA_ARES 2205
#define IDS_AREA_CHOU 2206
#define IDS_AREA_DANBO 2207
#define IDS_AREA_HECTARES 2208
#define IDS_AREA_JEONGBO 2209
#define IDS_AREA_MORGEN_HUNGARY 2210
#define IDS_AREA_MU 2211
#define IDS_AREA_PING 2212
#define IDS_AREA_PYEONG 2213
#define IDS_AREA_PYEONGBANGJA 2214
#define IDS_AREA_RAI 2215
#define IDS_AREA_SE 2216
#define IDS_AREA_SQUARE_CENTIMETERS 2217
#define IDS_AREA_SQUARE_CHR 2218
#define IDS_AREA_SQUARE_FATHOMS 2219
#define IDS_AREA_SQUARE_FATHOMS_HUNGARY 2220
#define IDS_AREA_SQUARE_FEET 2221
#define IDS_AREA_SQUARE_INCHES 2222
#define IDS_AREA_SQUARE_KILOMETERS 2223
#define IDS_AREA_SQUARE_LAR 2224
#define IDS_AREA_SQUARE_METER 2225
#define IDS_AREA_SQUARE_MILES 2226
#define IDS_AREA_SQUARE_MILLIMETERS 2227
#define IDS_AREA_SQUARE_SHAKU 2228
#define IDS_AREA_SQUARE_TSUEN 2229
#define IDS_AREA_SQUARE_VA 2230
#define IDS_AREA_SQUARE_YARD 2231
#define IDS_AREA_TAN 2232
#define IDS_AREA_TSUBO 2233
/* TYPES OF COMSUMPTIONS */
#define IDS_CONSUMPTION_KM_PER_L 2300
#define IDS_CONSUMPTION_L_PER_100_KM 2301
#define IDS_CONSUMPTION_MILES_GALLON_UK 2302
#define IDS_CONSUMPTION_MILES_GALLON_US 2303
/* TYPES OF CURRENCIES */
#define IDS_CURRENCY_AUSTRIAN_SCHILLING 2400
#define IDS_CURRENCY_BELGIAN_FRANC 2401
#define IDS_CURRENCY_CYPRIOT_POUND 2402
#define IDS_CURRENCY_CZECH_KORUNA 2403
#define IDS_CURRENCY_DEUTSCHE_MARK 2404
#define IDS_CURRENCY_DUTCH_GUILDER 2405
#define IDS_CURRENCY_ESTONIAN_KROON 2406
#define IDS_CURRENCY_EURO 2407
#define IDS_CURRENCY_FINNISH_MARKKA 2408
#define IDS_CURRENCY_FRENCH_FRANC 2409
#define IDS_CURRENCY_GREEK_DRACHMA 2410
#define IDS_CURRENCY_IRISH_POUND 2411
#define IDS_CURRENCY_ITALIAN_LIRA 2412
#define IDS_CURRENCY_LATVIAN_LATS 2413
#define IDS_CURRENCY_LITHUANIAN_LITAS 2414
#define IDS_CURRENCY_LUXEMBOURG_FRANC 2415
#define IDS_CURRENCY_MALTESE_LIRA 2416
#define IDS_CURRENCY_PORTOGUESE_ESCUDO 2417
#define IDS_CURRENCY_SLOVAK_KORUNA 2418
#define IDS_CURRENCY_SLOVENIAN_TOLAR 2419
#define IDS_CURRENCY_SPANISH_PESETA 2420
/* TYPES OF ENERGIES */
#define IDS_ENERGY_15_C_CALORIES 2500
#define IDS_ENERGY_BTUS 2501
#define IDS_ENERGY_ERGS 2502
#define IDS_ENERGY_EVS 2503
#define IDS_ENERGY_FOOT_POUNDS 2504
#define IDS_ENERGY_IT_CALORIES 2505
#define IDS_ENERGY_IT_KILOCALORIES 2506
#define IDS_ENERGY_JOULES 2507
#define IDS_ENERGY_KILOJOULES 2508
#define IDS_ENERGY_KILOWATT_HOURS 2509
#define IDS_ENERGY_NUTRITION_CALORIES 2510
#define IDS_ENERGY_TH_CALORIES 2511
/* TYPES OF LENGTHS */
#define IDS_LENGTH_ANGSTROMS 2600
#define IDS_LENGTH_ASTRONOMICAL_UNITS 2601
#define IDS_LENGTH_BARLEYCORNS 2602
#define IDS_LENGTH_CENTIMETERS 2603
#define IDS_LENGTH_CHAINS_UK 2604
#define IDS_LENGTH_CHI 2605
#define IDS_LENGTH_CHOU 2606
#define IDS_LENGTH_CHR 2607
#define IDS_LENGTH_CUN 2608
#define IDS_LENGTH_FATHOMS 2609
#define IDS_LENGTH_FATHOMS_HUNGARY 2610
#define IDS_LENGTH_FEET 2611
#define IDS_LENGTH_FURLONGS 2612
#define IDS_LENGTH_GAN 2613
#define IDS_LENGTH_HANDS 2614
#define IDS_LENGTH_HUNH 2615
#define IDS_LENGTH_INCHES 2616
#define IDS_LENGTH_JA 2617
#define IDS_LENGTH_JEONG 2618
#define IDS_LENGTH_KABIET 2619
#define IDS_LENGTH_KEN 2620
#define IDS_LENGTH_KEUB 2621
#define IDS_LENGTH_KILOMETERS 2622
#define IDS_LENGTH_LAR 2623
#define IDS_LENGTH_LIGHT_YEARS 2624
#define IDS_LENGTH_LINKS_UK 2625
#define IDS_LENGTH_METERS 2626
#define IDS_LENGTH_MICRONS 2627
#define IDS_LENGTH_MILES 2628
#define IDS_LENGTH_MILLIMETERS 2629
#define IDS_LENGTH_NAUTICAL_MILES 2630
#define IDS_LENGTH_NIEU 2631
#define IDS_LENGTH_PARSECS 2632
#define IDS_LENGTH_PICAS 2633
#define IDS_LENGTH_RODS 2634
#define IDS_LENGTH_RI_JAPAN 2635
#define IDS_LENGTH_RI_KOREA 2636
#define IDS_LENGTH_SAWK 2637
#define IDS_LENGTH_SEN 2638
#define IDS_LENGTH_SHAKU 2639
#define IDS_LENGTH_SPAN 2640
#define IDS_LENGTH_SUN 2641
#define IDS_LENGTH_TSUEN 2642
#define IDS_LENGTH_VA 2643
#define IDS_LENGTH_YARDS 2644
#define IDS_LENGTH_YOTE 2645
#define IDS_LENGTH_ZHANG 2646
/* TYPES OF POWERS */
#define IDS_POWER_BTUS_PER_MINUTE 2700
#define IDS_POWER_FPS_PER_MINUTE 2701
#define IDS_POWER_HORSEPOWER 2702
#define IDS_POWER_KILOWATTS 2703
#define IDS_POWER_MEGAWATTS 2704
#define IDS_POWER_WATTS 2705
/* TYPE OF PRESSURES */
#define IDS_PRESSURE_ATMOSPHERES 2800
#define IDS_PRESSURE_BARS 2801
#define IDS_PRESSURE_HECTOPASCALS 2802
#define IDS_PRESSURE_KILOPASCALS 2803
#define IDS_PRESSURE_MM_OF_MERCURY 2804
#define IDS_PRESSURE_PASCALS 2805
#define IDS_PRESSURE_PSI 2806
/* TYPES OF TEMPERATURES */
#define IDS_TEMPERATURE_CELSIUS 2900
#define IDS_TEMPERATURE_FAHRENHEIT 2901
#define IDS_TEMPERATURE_KELVIN 2902
#define IDS_TEMPERATURE_RANKINE 2903
/* TYPE OF TIME */
#define IDS_TIME_DAYS 3001
#define IDS_TIME_HOURS 3002
#define IDS_TIME_MICROSECONDS 3003
#define IDS_TIME_MILLISECONDS 3004
#define IDS_TIME_NANOSECONDS 3005
#define IDS_TIME_MINUTES 3006
#define IDS_TIME_SECONDS 3007
#define IDS_TIME_WEEKS 3008
#define IDS_TIME_YEARS 3009
/* TYPES OF VELOCITIES */
#define IDS_VELOCITY_CMS_SECOND 3100
#define IDS_VELOCITY_FEET_SECOND 3101
#define IDS_VELOCITY_FEET_HOUR 3102
#define IDS_VELOCITY_KILOMETERS_HOUR 3103
#define IDS_VELOCITY_KNOTS 3104
#define IDS_VELOCITY_MACH 3105
#define IDS_VELOCITY_METERS_SECOND 3106
#define IDS_VELOCITY_MILES_HOUR 3107
/* TYPES OF VOLUMES */
#define IDS_VOLUME_BARRELS_UK 3200
#define IDS_VOLUME_BARRELS_OIL 3201
#define IDS_VOLUME_BUN 3202
#define IDS_VOLUME_BUSHELS_UK 3203
#define IDS_VOLUME_BUSHELS_US 3204
#define IDS_VOLUME_CUBIC_CENTIMETERS 3205
#define IDS_VOLUME_CUBIC_FEET 3206
#define IDS_VOLUME_CUBIC_INCHES 3207
#define IDS_VOLUME_CUBIC_METERS 3208
#define IDS_VOLUME_CUBIC_YARDS 3209
#define IDS_VOLUME_DOE 3210
#define IDS_VOLUME_FLUID_OUNCES_UK 3211
#define IDS_VOLUME_FLUID_OUNCES_US 3212
#define IDS_VOLUME_GALLONS_UK 3213
#define IDS_VOLUME_GALLONS_DRY_US 3214
#define IDS_VOLUME_GALLONS_LIQUID_US 3215
#define IDS_VOLUME_GOU 3216
#define IDS_VOLUME_HOP 3217
#define IDS_VOLUME_ICCE 3218
#define IDS_VOLUME_KWIAN 3219
#define IDS_VOLUME_LITERS 3220
#define IDS_VOLUME_MAL 3221
#define IDS_VOLUME_MILLILITERS 3222
#define IDS_VOLUME_PINTS_UK 3223
#define IDS_VOLUME_PINTS_DRY_US 3224
#define IDS_VOLUME_PINTS_LIQUID_US 3225
#define IDS_VOLUME_QUARTS_UK 3226
#define IDS_VOLUME_QUARTS_DRY_US 3227
#define IDS_VOLUME_QUARTS_LIQUID_US 3228
#define IDS_VOLUME_SEKI 3229
#define IDS_VOLUME_SYOU 3230
#define IDS_VOLUME_TANANLOUNG 3231
#define IDS_VOLUME_TANG 3232
#define IDS_VOLUME_TO 3233
/* TYPES OF WEIGHTS */
#define IDS_WEIGHT_BAHT 3300
#define IDS_WEIGHT_CARATS 3301
#define IDS_WEIGHT_CHUNG 3302
#define IDS_WEIGHT_DON 3303
#define IDS_WEIGHT_GEUN 3304
#define IDS_WEIGHT_GRAMS 3305
#define IDS_WEIGHT_GWAN 3306
#define IDS_WEIGHT_HARB 3307
#define IDS_WEIGHT_JIN_CHINA 3308
#define IDS_WEIGHT_JIN_TAIWAN 3309
#define IDS_WEIGHT_KAN 3310
#define IDS_WEIGHT_KILOGRAMS 3311
#define IDS_WEIGHT_KIN 3312
#define IDS_WEIGHT_LIANG_CHINA 3313
#define IDS_WEIGHT_LIANG_TAIWAN 3314
#define IDS_WEIGHT_MONME 3315
#define IDS_WEIGHT_OUNCES_AVOIRDUPOIS 3316
#define IDS_WEIGHT_OUNCES_TROY 3317
#define IDS_WEIGHT_POUNDS 3318
#define IDS_WEIGHT_QUINTAL_METRIC 3319
#define IDS_WEIGHT_SALOUNG 3320
#define IDS_WEIGHT_STONES 3321
#define IDS_WEIGHT_TAMLUNG 3322
#define IDS_WEIGHT_TONNES 3323
#define IDS_WEIGHT_TONS_UK 3324
#define IDS_WEIGHT_TONS_US 3325
/* MENU */
#define IDM_EDIT_COPY 40002
#define IDM_EDIT_PASTE 40003
#define IDM_VIEW_STANDARD 40004
#define IDM_VIEW_SCIENTIFIC 40005
#define IDM_VIEW_HEX 40006
#define IDM_VIEW_DEC 40007
#define IDM_VIEW_OCT 40008
#define IDM_VIEW_BIN 40009
#define IDM_VIEW_DEG 40010
#define IDM_VIEW_RAD 40011
#define IDM_VIEW_GRAD 40012
#define IDM_VIEW_GROUP 40013
#define IDM_HELP_HELP 40014
#define IDM_HELP_ABOUT 40015
#define IDM_VIEW_QWORD 40016
#define IDM_VIEW_WORD 40017
#define IDM_VIEW_BYTE 40018
#define IDM_VIEW_DWORD 40019
#define IDM_VIEW_CONVERSION 40020